summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-01-07 09:53:30 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-08 21:16:50 -0500
commit66cf191f3eae4582a83cb4251b75b43bee95a999 (patch)
tree65447e6f7c6fd824f8735f13ffbd85dc54f0eb66 /fs/internal.h
parentb43417216e9ce55e1f1ab7c834c7ab43db0b53e1 (diff)
downloadlinux-66cf191f3eae4582a83cb4251b75b43bee95a999.tar.bz2
compat_ioctl: don't pass fd around when not needed
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 71859c4d0b41..e38c08ca437d 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -151,3 +151,10 @@ extern void mnt_pin_kill(struct mount *m);
* fs/nsfs.c
*/
extern struct dentry_operations ns_dentry_operations;
+
+/*
+ * fs/ioctl.c
+ */
+extern int do_vfs_ioctl(struct file *file, unsigned int fd, unsigned int cmd,
+ unsigned long arg);
+extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);