diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2011-09-03 00:28:53 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2011-09-03 00:28:53 +0000 |
commit | 3e62df9adb80043c44a8105c35148fbdb0ceb52e (patch) | |
tree | 4771cfe5243d464bb3c1699e3e0668f70fd9c068 /sys/fs | |
parent | 7c8760d4c566dc37ce75b7bf1ba7b298396de28c (diff) | |
download | FreeBSD-src-3e62df9adb80043c44a8105c35148fbdb0ceb52e.zip FreeBSD-src-3e62df9adb80043c44a8105c35148fbdb0ceb52e.tar.gz |
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)
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfsserver/nfs_nfsdport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c index 82f05d0..42ace82 100644 --- a/sys/fs/nfsserver/nfs_nfsdport.c +++ b/sys/fs/nfsserver/nfs_nfsdport.c @@ -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. */ |