Skip to contentSkip to conversation

cciss: cciss_ioctl return code fix

PATCH New [email protected] 1 participant 1 message Dec 6, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

 cciss.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--------------------------------------------------------------------------------

drivers/block/cciss.c +1 -1
diff -urNp lx2610-rc3.orig/drivers/block/cciss.c lx2610-rc3/drivers/block/cciss.c
@@ -1100,7 +1100,7 @@ cleanup1:
 		return(status);
 	}
 	default:
-		return -EBADRQC;
+		return -ENOTTY;
 	}
 	
 }