]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ubifs/ioctl.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / fs / ubifs / ioctl.c
index 1a7e2d8bdbe92c7145c23c9d82382bcc157b12b2..648b143606cc9ad57ae0a2c31bfc4e4d73265320 100644 (file)
@@ -147,7 +147,7 @@ out_unlock:
 long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 {
        int flags, err;
-       struct inode *inode = file->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(file);
 
        switch (cmd) {
        case FS_IOC_GETFLAGS: