svn commit: r232018 - in stable/9/sys/fs: nfs nfsserver

Rick Macklem rmacklem at FreeBSD.org
Thu Feb 23 04:32:42 UTC 2012


Author: rmacklem
Date: Thu Feb 23 04:32:41 2012
New Revision: 232018
URL: http://svn.freebsd.org/changeset/base/232018

Log:
  MFC: r231805
  Delete a couple of out of date comments that are no longer true in
  the new NFS client.

Modified:
  stable/9/sys/fs/nfs/nfs_commonport.c
  stable/9/sys/fs/nfsserver/nfs_nfsdport.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/amd64/include/xen/   (props changed)
  stable/9/sys/boot/   (props changed)
  stable/9/sys/boot/i386/efi/   (props changed)
  stable/9/sys/boot/ia64/efi/   (props changed)
  stable/9/sys/boot/ia64/ski/   (props changed)
  stable/9/sys/boot/powerpc/boot1.chrp/   (props changed)
  stable/9/sys/boot/powerpc/ofw/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/contrib/dev/acpica/   (props changed)
  stable/9/sys/contrib/octeon-sdk/   (props changed)
  stable/9/sys/contrib/pf/   (props changed)
  stable/9/sys/contrib/x86emu/   (props changed)

Modified: stable/9/sys/fs/nfs/nfs_commonport.c
==============================================================================
--- stable/9/sys/fs/nfs/nfs_commonport.c	Thu Feb 23 03:16:09 2012	(r232017)
+++ stable/9/sys/fs/nfs/nfs_commonport.c	Thu Feb 23 04:32:41 2012	(r232018)
@@ -109,9 +109,6 @@ MALLOC_DEFINE(M_NEWNFSDROLLBACK, "NFSD r
  * 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;

Modified: stable/9/sys/fs/nfsserver/nfs_nfsdport.c
==============================================================================
--- stable/9/sys/fs/nfsserver/nfs_nfsdport.c	Thu Feb 23 03:16:09 2012	(r232017)
+++ stable/9/sys/fs/nfsserver/nfs_nfsdport.c	Thu Feb 23 04:32:41 2012	(r232018)
@@ -319,11 +319,7 @@ nfsvno_setattr(struct vnode *vp, struct 
 }
 
 /*
- * 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,


More information about the svn-src-stable-9 mailing list