Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[cascardo/linux.git] / fs / cifs / ioctl.c
index 7749230..45cb59b 100644 (file)
@@ -85,7 +85,7 @@ static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file,
                goto out_fput;
        }
 
-       src_inode = src_file.file->f_dentry->d_inode;
+       src_inode = file_inode(src_file.file);
 
        /*
         * Note: cifs case is easier than btrfs since server responsible for