]> git.hungrycats.org Git - linux/commit
[PATCH] cciss: return -ENXIO on no-device-present
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Mar 2004 06:51:01 +0000 (22:51 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 29 Mar 2004 06:51:01 +0000 (22:51 -0800)
commit2635120eda9b269226d155883a76c5317df9ae55
tree87c2f26b9bdf6af85ed860aefeaa2d8ebc530d7e
parentbcb10ca8935eb3cf43a8c8e23db72f3db01f91b8
[PATCH] cciss: return -ENXIO on no-device-present

From: mike.miller@hp.com

If no device is attached we now return -ENXIO instead of some bogus
numbers.  Prevents applications from trying to access non-existent disks.
Also adds HDIO_GETGEO_BIG IOCTL that fdisk uses.
drivers/block/cciss.c