projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eca900
)
compat_ioctl: fix block device compat ioctl regression
author
Philip Langdale
<philipl@overt.org>
Sat, 27 Oct 2007 11:34:10 +0000
(13:34 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 29 Oct 2007 10:33:06 +0000
(11:33 +0100)
The conversion of handlers to compat_blkdev_ioctl accidentally
disabled handling of most ioctl numbers on block devices because
of a typo. Fix the one line to enable it all again.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
block/compat_ioctl.c
patch
|
blob
|
history
diff --git
a/block/compat_ioctl.c
b/block/compat_ioctl.c
index f84093b97f704f3d7720708b6ca035741ca6a67f..cae0a852619e372a7a2e87b53b7f818a402f8d86 100644
(file)
--- a/
block/compat_ioctl.c
+++ b/
block/compat_ioctl.c
@@
-581,7
+581,7
@@
static int compat_blkdev_driver_ioctl(struct inode *inode, struct file *file,
{
int ret;
- switch (
arg
) {
+ switch (
cmd
) {
case HDIO_GET_UNMASKINTR:
case HDIO_GET_MULTCOUNT:
case HDIO_GET_KEEPSETTINGS: