All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs: cifs: new helper: file_inode(file)
@ 2013-12-11  3:02 ` Libo Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Libo Chen @ 2013-12-11  3:02 UTC (permalink / raw)
  To: sfrench-eUNUBHrolfbYtjvyW6yDsg
  Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA,
	samba-technical-w/Ol4Ecudpl8XjKLYN78aQ, LKML, Li Zefan


Signed-off-by: Libo Chen <clbchenlibo.chen-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.2.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-12  4:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11  3:02 [PATCH] fs: cifs: new helper: file_inode(file) Libo Chen
2013-12-11  3:02 ` Libo Chen
     [not found] ` <52A7D5C3.6010300-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-12-11 11:33   ` Jeff Layton
2013-12-11 11:33     ` Jeff Layton
2014-05-12  4:08   ` Steve French
2014-05-12  4:08     ` Steve French

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.