]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] st: Fixup -ENOMEDIUM
authorKai Makisara <Kai.Makisara@kolumbus.fi>
Thu, 5 Oct 2006 19:59:46 +0000 (22:59 +0300)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:11:59 +0000 (15:11 -0700)
commit413f73272090a69e35a03c938272ec661b1d3d4c
treecbd35ad92c9f02436c2f498d273956337b8f08f9
parenta24342b90c9c829fc5fea9ee01b127f81bca18ef
[SCSI] st: Fixup -ENOMEDIUM

Based on the original patch from Hannes Reinecke <hare@suse.de>

Fix st_open() to return -ENOMEDIUM instead of -EIO if no medium is
found.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/st.c