* [PATCH] cifs: new helper: file_inode(file)
[not found] ` <5316EE49.6090409-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2014-03-06 4:01 ` ZhangZhen
[not found] ` <5317F2FF.9020609-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: ZhangZhen @ 2014-03-06 4:01 UTC (permalink / raw)
To: sfrench-eUNUBHrolfbYtjvyW6yDsg
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA, Du Yongfeng
cifs: new helper: file_inode(file)
Signed-off-by: Zhang Zhen <zhenzhang.zhang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
fs/cifs/ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c
index 7749230..45cb59b 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,
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
--
1.8.1.4
.
_______________________________________________
kernel.openeuler mailing list
kernel.openeuler-hv44wF8Li93QT0dZR+AlfA@public.gmane.org
http://rnd-openeuler.huawei.com/mailman/listinfo/kernel.openeuler
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] cifs: new helper: file_inode(file)
[not found] ` <5317F2FF.9020609-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2014-03-27 8:49 ` ZhangZhen
0 siblings, 0 replies; 2+ messages in thread
From: ZhangZhen @ 2014-03-27 8:49 UTC (permalink / raw)
To: smfrench-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA
cifs: new helper: file_inode(file)
Signed-off-by: Zhang Zhen <zhenzhang.zhang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
fs/cifs/ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c
index 7749230..45cb59b 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,
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
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-27 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5316EE49.6090409@huawei.com>
[not found] ` <5316EE49.6090409-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-03-06 4:01 ` [PATCH] cifs: new helper: file_inode(file) ZhangZhen
[not found] ` <5317F2FF.9020609-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-03-27 8:49 ` ZhangZhen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.