Commit abf3806e authored by Mike Miller's avatar Mike Miller Committed by Linus Torvalds

[PATCH] 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.

Thanks to Jens Axboe for pointing this out.
Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f81cb7ae
......@@ -1100,7 +1100,7 @@ static int cciss_ioctl(struct inode *inode, struct file *filep,
return(status);
}
default:
return -EBADRQC;
return -ENOTTY;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment