aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/ioctl.c')
-rw-r--r--fs/nilfs2/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index f3859354e41a..b44bdb291b84 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
@@ -796,7 +796,7 @@ static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp,
796 796
797long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) 797long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
798{ 798{
799 struct inode *inode = filp->f_dentry->d_inode; 799 struct inode *inode = file_inode(filp);
800 void __user *argp = (void __user *)arg; 800 void __user *argp = (void __user *)arg;
801 801
802 switch (cmd) { 802 switch (cmd) {