Messages in this thread Patch in this message | | | Date | Mon, 6 Dec 2004 11:43:54 -0600 | From | mike.miller@hp ... | Subject | [PATCH 2.6] 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 <mike.miller@hp.com>
cciss.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
-------------------------------------------------------------------------------- diff -urNp lx2610-rc3.orig/drivers/block/cciss.c lx2610-rc3/drivers/block/cciss.c --- lx2610-rc3.orig/drivers/block/cciss.c 2004-12-06 09:36:04.844780000 -0600 +++ lx2610-rc3/drivers/block/cciss.c 2004-12-06 09:39:18.104400072 -0600 @@ -1100,7 +1100,7 @@ cleanup1: return(status); } default: - return -EBADRQC; + return -ENOTTY; } } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |