Commit 2d4f84bd authored by Libo Chen's avatar Libo Chen Committed by Steve French

fs: cifs: new helper: file_inode(file)

Signed-off-by: default avatarLibo Chen <clbchenlibo.chen@huawei.com>
Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 4f73c7d3
...@@ -85,7 +85,7 @@ static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file, ...@@ -85,7 +85,7 @@ static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file,
goto out_fput; 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 * Note: cifs case is easier than btrfs since server responsible for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment