cciss: cciss_ioctl return code fix
Subsystems (2)
PATCH 1/1 cciss: cciss_ioctl return code fix
This patches fixes the return code from cciss_ioctl. Without this some block layer (BLK*) ioctls do not work. Please consider this for inclusion.
Thanks to Jens Axboe for pointing this out.
Signed-off-by Mike Miller <[email protected]>
cciss.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
--------------------------------------------------------------------------------
drivers/block/cciss.c +1 -1
@@ -1100,7 +1100,7 @@ cleanup1:return (status); }default : -return -EBADRQC ; +return -ENOTTY ; } }