mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
fs: cifs: new helper: file_inode(file)
Signed-off-by: Libo Chen <clbchenlibo.chen@huawei.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
parent
4f73c7d342
commit
2d4f84bd79
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user