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

* [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; +Cc: linux-cifs, samba-technical, LKML, Li Zefan


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

* Re: [PATCH] fs: cifs: new helper: file_inode(file)
  2013-12-11  3:02 ` Libo Chen
@ 2013-12-11 11:33     ` Jeff Layton
  -1 siblings, 0 replies; 6+ messages in thread
From: Jeff Layton @ 2013-12-11 11:33 UTC (permalink / raw)
  To: Libo Chen
  Cc: sfrench-eUNUBHrolfbYtjvyW6yDsg, linux-cifs-u79uwXL29TY76Z2rM5mHXA,
	samba-technical-w/Ol4Ecudpl8XjKLYN78aQ, LKML, Li Zefan

On Wed, 11 Dec 2013 11:02:27 +0800
Libo Chen <clbchenlibo.chen-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> wrote:

> 
> 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

Acked-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

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

* Re: [PATCH] fs: cifs: new helper: file_inode(file)
@ 2013-12-11 11:33     ` Jeff Layton
  0 siblings, 0 replies; 6+ messages in thread
From: Jeff Layton @ 2013-12-11 11:33 UTC (permalink / raw)
  To: Libo Chen; +Cc: sfrench, linux-cifs, samba-technical, LKML, Li Zefan

On Wed, 11 Dec 2013 11:02:27 +0800
Libo Chen <clbchenlibo.chen@huawei.com> wrote:

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

Acked-by: Jeff Layton <jlayton@redhat.com>

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

* Re: [PATCH] fs: cifs: new helper: file_inode(file)
  2013-12-11  3:02 ` Libo Chen
@ 2014-05-12  4:08     ` Steve French
  -1 siblings, 0 replies; 6+ messages in thread
From: Steve French @ 2014-05-12  4:08 UTC (permalink / raw)
  To: Libo Chen
  Cc: Steve French, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	samba-technical, LKML, Li Zefan

merged into cifs-2.6.git for-next

On Tue, Dec 10, 2013 at 9:02 PM, Libo Chen <clbchenlibo.chen-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> wrote:
>
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,

Steve

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

* Re: [PATCH] fs: cifs: new helper: file_inode(file)
@ 2014-05-12  4:08     ` Steve French
  0 siblings, 0 replies; 6+ messages in thread
From: Steve French @ 2014-05-12  4:08 UTC (permalink / raw)
  To: Libo Chen
  Cc: Steve French, linux-cifs@vger.kernel.org, samba-technical, LKML,
	Li Zefan

merged into cifs-2.6.git for-next

On Tue, Dec 10, 2013 at 9:02 PM, Libo Chen <clbchenlibo.chen@huawei.com> wrote:
>
> Signed-off-by: Libo Chen <clbchenlibo.chen@huawei.com>
> ---
>  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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,

Steve

^ permalink raw reply	[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.