new helper: file_inode(file)
[deliverable/linux.git] / fs / xfs / xfs_ioctl32.c
index 1244274a56741404b36e0afc4cfc7d5d7f043ac7..63b8fc43215197c6d8721f43f01d01e50bdf0786 100644 (file)
@@ -530,7 +530,7 @@ xfs_file_compat_ioctl(
        unsigned                cmd,
        unsigned long           p)
 {
-       struct inode            *inode = filp->f_path.dentry->d_inode;
+       struct inode            *inode = file_inode(filp);
        struct xfs_inode        *ip = XFS_I(inode);
        struct xfs_mount        *mp = ip->i_mount;
        void                    __user *arg = (void __user *)p;
This page took 0.034762 seconds and 5 git commands to generate.