aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/ioctl.c')
-rw-r--r--fs/ubifs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ioctl.c b/fs/ubifs/ioctl.c
index 1a7e2d8bdbe9..648b143606cc 100644
--- a/fs/ubifs/ioctl.c
+++ b/fs/ubifs/ioctl.c
@@ -147,7 +147,7 @@ out_unlock:
147long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 147long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
148{ 148{
149 int flags, err; 149 int flags, err;
150 struct inode *inode = file->f_path.dentry->d_inode; 150 struct inode *inode = file_inode(file);
151 151
152 switch (cmd) { 152 switch (cmd) {
153 case FS_IOC_GETFLAGS: 153 case FS_IOC_GETFLAGS: