fs: cifs: new helper: file_inode(file)
Subsystems (2)
PATCH 1/1 fs: cifs: new helper: file_inode(file)
Signed-off-by Libo Chen <[email protected]>
--- fs/cifs/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/ioctl.c +1 -1
@@ -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
Signature · 1 line
1.8.2.2
Quoted 11 lines · On Wed, 11 Dec 2013 11:02:27 +0800 Libo Chen…
Signed-off-by Libo Chen <[email protected]>--- fs/cifs/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/cifs/ioctl.c +0
-0
fs/cifs/ioctl.c static long cifs_ioctl_clone(unsigned int xid, struct file *dst_file, · line 91
Quoted 8 lines
fs/cifs/ioctl.c +1
-1@@ -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
Acked-by Jeff Layton <[email protected]>
Steve French
Appliedmerged into cifs-2.6.git for-next
Quoted 26 lines · Libo Chen
Signed-off-by Libo Chen <[email protected]>--- fs/cifs/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/cifs/ioctl.c +1
-2@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Thanks, Steve