Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9df6702a authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

vfs: export vfs_ioctl() to modules



This is needed by the stacked ioctl implementation in overlayfs.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent d3b1084d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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:
+1 −0
Original line number Diff line number Diff line
@@ -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)
{
+2 −0
Original line number Diff line number Diff line
@@ -1634,6 +1634,8 @@ int vfs_mkobj(struct dentry *, umode_t,
		int (*f)(struct dentry *, umode_t, void *),
		void *);

extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);

/*
 * VFS file helper functions.
 */