Fix the NFS servers so that they can do a Lookup of "..",

which requires that ni_strictrelative be set to 0, post-r224810.

Tested by:	swills (earlier version), geo dot liaskos at gmail.com
Approved by:	re (kib)
This commit is contained in:
Rick Macklem 2011-09-03 00:28:53 +00:00
parent bd2369f62e
commit 322c8d9e25
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225356
2 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ nfsvno_namei(struct nfsrv_descript *nd, struct nameidata *ndp,
*retdirp = NULL;
cnp->cn_nameptr = cnp->cn_pnbuf;
ndp->ni_strictrelative = 0;
/*
* Extract and set starting directory.
*/

View File

@ -157,6 +157,7 @@ ndclear(struct nameidata *nd)
nd->ni_vp = NULL;
nd->ni_dvp = NULL;
nd->ni_startdir = NULL;
nd->ni_strictrelative = 0;
}
/*