diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-18 15:44:40 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-07-18 15:44:40 +0200 |
commit | 9df6702ad0e85901450fe48a7b5f0f8975353eeb (patch) | |
tree | b9728e3cb034fedd8bca60a97b3572cfa590fc79 /fs | |
parent | d3b1084dfd629ef89bc1c4bab95e5cb87e7d08c2 (diff) | |
download | linux-9df6702ad0e85901450fe48a7b5f0f8975353eeb.tar.bz2 |
vfs: export vfs_ioctl() to modules
This is needed by the stacked ioctl implementation in overlayfs.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/internal.h | 1 | ||||
-rw-r--r-- | fs/ioctl.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index 442098fa0a84..9c3b4c40e582 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -184,7 +184,6 @@ extern const struct dentry_operations ns_dentry_operations; */ 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); /* * iomap support: diff --git a/fs/ioctl.c b/fs/ioctl.c index b445b13fc59b..3212c29235ce 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -49,6 +49,7 @@ long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) out: return error; } +EXPORT_SYMBOL(vfs_ioctl); static int ioctl_fibmap(struct file *filp, int __user *p) { |