提交 2d4f84bd 编写于 作者: L Libo Chen 提交者: Steve French

fs: cifs: new helper: file_inode(file)

Signed-off-by: NLibo Chen <clbchenlibo.chen@huawei.com>
Acked-by: NJeff Layton <jlayton@redhat.com>
Signed-off-by: NSteve French <smfrench@gmail.com>
上级 4f73c7d3
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册