Commit 13264682 authored by Jeremy Katz's avatar Jeremy Katz Committed by Linus Torvalds

[PATCH] Fix blkpg ioctl32 handling

Simple obvious patch so that all calls to blkpg from the non-native
environment don't get -EINVAL
parent 6f3f31b3
......@@ -1952,6 +1952,7 @@ static int blkpg_ioctl_trans(unsigned int fd, unsigned int cmd, unsigned long ar
set_fs (KERNEL_DS);
err = sys_ioctl(fd, cmd, (unsigned long)&a);
set_fs (old_fs);
break;
default:
return -EINVAL;
}
......
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