lkml.org 
[lkml]   [2004]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.100 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site