Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2012 03:08:23 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r234049 - in stable/8/sys: fs/nfs fs/nfsserver i386/conf
Message-ID:  <201204090308.q3938NC8039936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Mon Apr  9 03:08:22 2012
New Revision: 234049
URL: http://svn.freebsd.org/changeset/base/234049

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

Modified:
  stable/8/sys/fs/nfs/nfs_commonport.c
  stable/8/sys/fs/nfsserver/nfs_nfsdport.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)
  stable/8/sys/i386/conf/XENHVM   (props changed)

Modified: stable/8/sys/fs/nfs/nfs_commonport.c
==============================================================================
--- stable/8/sys/fs/nfs/nfs_commonport.c	Mon Apr  9 01:37:57 2012	(r234048)
+++ stable/8/sys/fs/nfs/nfs_commonport.c	Mon Apr  9 03:08:22 2012	(r234049)
@@ -111,9 +111,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/8/sys/fs/nfsserver/nfs_nfsdport.c
==============================================================================
--- stable/8/sys/fs/nfsserver/nfs_nfsdport.c	Mon Apr  9 01:37:57 2012	(r234048)
+++ stable/8/sys/fs/nfsserver/nfs_nfsdport.c	Mon Apr  9 03:08:22 2012	(r234049)
@@ -315,11 +315,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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204090308.q3938NC8039936>