diff options
author | Libo Chen <clbchenlibo.chen@huawei.com> | 2013-12-10 22:02:27 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-05-21 13:18:05 -0400 |
commit | 2d4f84bd796e75608a18805255398dd9010e5c99 (patch) | |
tree | 56ca53fac7835f5462983cb4fbcf6ada29cf3ef0 | |
parent | 4f73c7d342d57d065bdbc0995cb56d8d1701b0c0 (diff) |
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>
-rw-r--r-- | fs/cifs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index 77492301cc2b..45cb59bcc791 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c | |||
@@ -85,7 +85,7 @@ static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file, | |||
85 | goto out_fput; | 85 | goto out_fput; |
86 | } | 86 | } |
87 | 87 | ||
88 | src_inode = src_file.file->f_dentry->d_inode; | 88 | src_inode = file_inode(src_file.file); |
89 | 89 | ||
90 | /* | 90 | /* |
91 | * Note: cifs case is easier than btrfs since server responsible for | 91 | * Note: cifs case is easier than btrfs since server responsible for |