projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f73c7d
)
fs: cifs: new helper: file_inode(file)
author
Libo Chen
<clbchenlibo.chen@huawei.com>
Wed, 11 Dec 2013 03:02:27 +0000
(11:02 +0800)
committer
Steve French
<smfrench@gmail.com>
Wed, 21 May 2014 17:18:05 +0000
(10:18 -0700)
Signed-off-by: Libo Chen <clbchenlibo.chen@huawei.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/ioctl.c
patch
|
blob
|
history
diff --git
a/fs/cifs/ioctl.c
b/fs/cifs/ioctl.c
index 77492301cc2b16c0f82ecea64de7bfb02fe31db5..45cb59bcc79188df595447ab93b56f9cf1a6f080 100644
(file)
--- 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,
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