diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-07 09:53:30 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-08 21:16:50 -0500 |
commit | 66cf191f3eae4582a83cb4251b75b43bee95a999 (patch) | |
tree | 65447e6f7c6fd824f8735f13ffbd85dc54f0eb66 /fs/ioctl.c | |
parent | b43417216e9ce55e1f1ab7c834c7ab43db0b53e1 (diff) |
compat_ioctl: don't pass fd around when not needed
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ioctl.c')
-rw-r--r-- | fs/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c index 5d01d2638ca5..41c352e81193 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/writeback.h> | 15 | #include <linux/writeback.h> |
16 | #include <linux/buffer_head.h> | 16 | #include <linux/buffer_head.h> |
17 | #include <linux/falloc.h> | 17 | #include <linux/falloc.h> |
18 | #include "internal.h" | ||
18 | 19 | ||
19 | #include <asm/ioctls.h> | 20 | #include <asm/ioctls.h> |
20 | 21 | ||
@@ -32,8 +33,7 @@ | |||
32 | * | 33 | * |
33 | * Returns 0 on success, -errno on error. | 34 | * Returns 0 on success, -errno on error. |
34 | */ | 35 | */ |
35 | static long vfs_ioctl(struct file *filp, unsigned int cmd, | 36 | long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) |
36 | unsigned long arg) | ||
37 | { | 37 | { |
38 | int error = -ENOTTY; | 38 | int error = -ENOTTY; |
39 | 39 | ||