|
@@ -1926,8 +1926,8 @@ long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(fuse_do_ioctl);
|
|
|
|
|
|
-static long fuse_file_ioctl_common(struct file *file, unsigned int cmd,
|
|
|
- unsigned long arg, unsigned int flags)
|
|
|
+long fuse_ioctl_common(struct file *file, unsigned int cmd,
|
|
|
+ unsigned long arg, unsigned int flags)
|
|
|
{
|
|
|
struct inode *inode = file->f_dentry->d_inode;
|
|
|
struct fuse_conn *fc = get_fuse_conn(inode);
|
|
@@ -1944,13 +1944,13 @@ static long fuse_file_ioctl_common(struct file *file, unsigned int cmd,
|
|
|
static long fuse_file_ioctl(struct file *file, unsigned int cmd,
|
|
|
unsigned long arg)
|
|
|
{
|
|
|
- return fuse_file_ioctl_common(file, cmd, arg, 0);
|
|
|
+ return fuse_ioctl_common(file, cmd, arg, 0);
|
|
|
}
|
|
|
|
|
|
static long fuse_file_compat_ioctl(struct file *file, unsigned int cmd,
|
|
|
unsigned long arg)
|
|
|
{
|
|
|
- return fuse_file_ioctl_common(file, cmd, arg, FUSE_IOCTL_COMPAT);
|
|
|
+ return fuse_ioctl_common(file, cmd, arg, FUSE_IOCTL_COMPAT);
|
|
|
}
|
|
|
|
|
|
/*
|