mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6] cciss: cciss_ioctl return code fix
@ 2004-12-06 17:43 mike.miller
  0 siblings, 0 replies; only message in thread
From: mike.miller @ 2004-12-06 17:43 UTC (permalink / raw)
  To: akpm, axboe; +Cc: linux-kernel, linux-scsi, brian.b

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;
 	}
 	
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-06 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06 17:43 [PATCH 2.6] cciss: cciss_ioctl return code fix mike.miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®