Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Ashish Sangwan
On Thu, Oct 15, 2020 at 7:38 PM Chuck Lever wrote: > > > > > On Oct 15, 2020, at 9:59 AM, Trond Myklebust > > wrote: > > > > On Thu, 2020-10-15 at 09:36 -0400, Chuck Lever wrote: > >>> On Oct 15, 2020, at 8:06 AM, Trond Myklebust < > >>> tron...@hammerspace.com> wrote: > >>> > >>> On Thu, 2020-1

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Chuck Lever
> On Oct 15, 2020, at 9:59 AM, Trond Myklebust wrote: > > On Thu, 2020-10-15 at 09:36 -0400, Chuck Lever wrote: >>> On Oct 15, 2020, at 8:06 AM, Trond Myklebust < >>> tron...@hammerspace.com> wrote: >>> >>> On Thu, 2020-10-15 at 00:39 +0530, Ashish Sangwan wrote: On Wed, Oct 14, 2020 at

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Chuck Lever
> On Oct 15, 2020, at 9:59 AM, Trond Myklebust wrote: > > On Thu, 2020-10-15 at 09:36 -0400, Chuck Lever wrote: >>> On Oct 15, 2020, at 8:06 AM, Trond Myklebust < >>> tron...@hammerspace.com> wrote: >>> >>> On Thu, 2020-10-15 at 00:39 +0530, Ashish Sangwan wrote: On Wed, Oct 14, 2020 at

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Trond Myklebust
On Thu, 2020-10-15 at 09:36 -0400, Chuck Lever wrote: > > On Oct 15, 2020, at 8:06 AM, Trond Myklebust < > > tron...@hammerspace.com> wrote: > > > > On Thu, 2020-10-15 at 00:39 +0530, Ashish Sangwan wrote: > > > On Wed, Oct 14, 2020 at 11:47 PM Trond Myklebust > > > wrote: > > > > On Tue, 2020-10

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Chuck Lever
> On Oct 15, 2020, at 8:06 AM, Trond Myklebust wrote: > > On Thu, 2020-10-15 at 00:39 +0530, Ashish Sangwan wrote: >> On Wed, Oct 14, 2020 at 11:47 PM Trond Myklebust >> wrote: >>> On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: Request for mode bits and nlink count in the nfs4_

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-15 Thread Trond Myklebust
On Thu, 2020-10-15 at 00:39 +0530, Ashish Sangwan wrote: > On Wed, Oct 14, 2020 at 11:47 PM Trond Myklebust > wrote: > > On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: > > > Request for mode bits and nlink count in the nfs4_get_referral > > > call > > > and if server returns them use the

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-14 Thread Ashish Sangwan
On Wed, Oct 14, 2020 at 11:47 PM Trond Myklebust wrote: > > On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: > > Request for mode bits and nlink count in the nfs4_get_referral call > > and if server returns them use them instead of hard coded values. > > > > CC: sta...@vger.kernel.org > >

Re: [PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-14 Thread Trond Myklebust
On Tue, 2020-10-06 at 08:14 -0700, Ashish Sangwan wrote: > Request for mode bits and nlink count in the nfs4_get_referral call > and if server returns them use them instead of hard coded values. > > CC: sta...@vger.kernel.org > Signed-off-by: Ashish Sangwan > --- > fs/nfs/nfs4proc.c | 20 +++

[PATCH] NFS: Fix mode bits and nlink count for v4 referral dirs

2020-10-06 Thread Ashish Sangwan
Request for mode bits and nlink count in the nfs4_get_referral call and if server returns them use them instead of hard coded values. CC: sta...@vger.kernel.org Signed-off-by: Ashish Sangwan --- fs/nfs/nfs4proc.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff -