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:
parent
bd2369f62e
commit
322c8d9e25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225356
@ -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.
|
||||
*/
|
||||
|
@ -157,6 +157,7 @@ ndclear(struct nameidata *nd)
|
||||
nd->ni_vp = NULL;
|
||||
nd->ni_dvp = NULL;
|
||||
nd->ni_startdir = NULL;
|
||||
nd->ni_strictrelative = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user