Commit 086b29f0 authored by Mike Miller's avatar Mike Miller Committed by James Bottomley

[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. Please consider this for inclusion.

Thanks to Jens Axboe for pointing this out.
Signed-off-by: default avatarMike Miller <mike.miller@hp.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 0f085400
......@@ -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