Date: Wed, 31 Aug 2011 22:57:23 +0300 From: George Liaskos <geo.liaskos@gmail.com> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org> Subject: Re: NFSv4: After upgrade to 9 users can no longer list files. (sounds like a ZFS issue?) Message-ID: <CANcjpOB3ri-zN%2B1LEka-VRk%2B9vuV27eTX=VSSVpSU0VQnZEA2A@mail.gmail.com> In-Reply-To: <382461010.589453.1314794995233.JavaMail.root@erie.cs.uoguelph.ca> References: <CANcjpOByga-_DPnrm69731q6CvkGV7hHSHRVsnakzkVjzTQOHw@mail.gmail.com> <382461010.589453.1314794995233.JavaMail.root@erie.cs.uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 31, 2011 at 3:49 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote: > Well, I can't imagine why this would matter, but you can try this patch, > which fixes a problem introduced by r224810 where Lookup ".." no longer > works. (It's at http://people.freebsd.org/~rmacklem/dotdot.patch, in case > the white space gets munged.) > Index: fs/nfsserver/nfs_nfsdport.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- fs/nfsserver/nfs_nfsdport.c (revision 225270) > +++ fs/nfsserver/nfs_nfsdport.c (working copy) > @@ -282,6 +282,7 @@ nfsvno_namei(struct nfsrv_descript *nd, struct nam > > =C2=A0 =C2=A0 =C2=A0 =C2=A0*retdirp =3D NULL; > =C2=A0 =C2=A0 =C2=A0 =C2=A0cnp->cn_nameptr =3D cnp->cn_pnbuf; > + =C2=A0 =C2=A0 =C2=A0 ndp->ni_strictrelative =3D 0; > =C2=A0 =C2=A0 =C2=A0 =C2=A0/* > =C2=A0 =C2=A0 =C2=A0 =C2=A0 * Extract and set starting directory. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 */ > Index: nfsserver/nfs_serv.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- nfsserver/nfs_serv.c =C2=A0 =C2=A0 =C2=A0 =C2=A0(revision 225270) > +++ nfsserver/nfs_serv.c =C2=A0 =C2=A0 =C2=A0 =C2=A0(working copy) > @@ -157,6 +157,7 @@ ndclear(struct nameidata *nd) > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd->ni_vp =3D NULL; > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd->ni_dvp =3D NULL; > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd->ni_startdir =3D NULL; > + =C2=A0 =C2=A0 =C2=A0 nd->ni_strictrelative =3D 0; > =C2=A0} > > =C2=A0/* > > rick This patch works for me. :) Regards, George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANcjpOB3ri-zN%2B1LEka-VRk%2B9vuV27eTX=VSSVpSU0VQnZEA2A>