summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2012-02-16 02:19:53 +0000
committerrmacklem <rmacklem@FreeBSD.org>2012-02-16 02:19:53 +0000
commit57ea6b594bc793fe5ce93d1d6391e872e26a2fae (patch)
treeb512f09dc9782afdb8b430421c749f13d5c7ae4d
parentc13c2b79cf89ae77278f4504a1760066513b18f8 (diff)
downloadFreeBSD-src-57ea6b594bc793fe5ce93d1d6391e872e26a2fae.zip
FreeBSD-src-57ea6b594bc793fe5ce93d1d6391e872e26a2fae.tar.gz
Delete a couple of out of date comments that are no longer true in
the new NFS client. Requested by: bde MFC after: 1 week
-rw-r--r--sys/fs/nfs/nfs_commonport.c3
-rw-r--r--sys/fs/nfsserver/nfs_nfsdport.c6
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/fs/nfs/nfs_commonport.c b/sys/fs/nfs/nfs_commonport.c
index aff8749..47c051f 100644
--- a/sys/fs/nfs/nfs_commonport.c
+++ b/sys/fs/nfs/nfs_commonport.c
@@ -109,9 +109,6 @@ MALLOC_DEFINE(M_NEWNFSDROLLBACK, "NFSD rollback",
* Definition of mutex locks.
* newnfsd_mtx is used in nfsrvd_nfsd() to protect the nfs socket list
* and assorted other nfsd structures.
- * Giant is used to protect the nfsd list and count, which is just
- * updated when nfsd's start/stop and is grabbed for nfsrvd_dorpc()
- * for the VFS ops.
*/
struct mtx newnfsd_mtx;
struct mtx nfs_sockl_mutex;
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index 21b5e48..d7fa1f6 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -319,11 +319,7 @@ nfsvno_setattr(struct vnode *vp, struct nfsvattr *nvap, struct ucred *cred,
}
/*
- * Set up nameidata for a lookup() call and do it
- * For the cases where we are crossing mount points
- * (looking up the public fh path or the v4 root path when
- * not using a pseudo-root fs), set/release the Giant lock,
- * as required.
+ * Set up nameidata for a lookup() call and do it.
*/
int
nfsvno_namei(struct nfsrv_descript *nd, struct nameidata *ndp,
OpenPOWER on IntegriCloud