Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2018 15:28:49 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328129 - head/sys/fs/nfsserver
Message-ID:  <201801181528.w0IFSnWm053535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Jan 18 15:28:49 2018
New Revision: 328129
URL: https://svnweb.freebsd.org/changeset/base/328129

Log:
  nfs: Do not printf each time a lock structure is freed during module unload
  
  There can be a lot of those structures and printing a line each time we free
  one on module unload.
  
  MFC after:	3 days

Modified:
  head/sys/fs/nfsserver/nfs_nfsdstate.c

Modified: head/sys/fs/nfsserver/nfs_nfsdstate.c
==============================================================================
--- head/sys/fs/nfsserver/nfs_nfsdstate.c	Thu Jan 18 15:15:35 2018	(r328128)
+++ head/sys/fs/nfsserver/nfs_nfsdstate.c	Thu Jan 18 15:28:49 2018	(r328129)
@@ -5799,10 +5799,8 @@ nfsrv_throwawayallstate(NFSPROC_T *p)
 	 * Also, free up any remaining lock file structures.
 	 */
 	for (i = 0; i < nfsrv_lockhashsize; i++) {
-		LIST_FOREACH_SAFE(lfp, &nfslockhash[i], lf_hash, nlfp) {
-			printf("nfsd unload: fnd a lock file struct\n");
+		LIST_FOREACH_SAFE(lfp, &nfslockhash[i], lf_hash, nlfp)
 			nfsrv_freenfslockfile(lfp);
-		}
 	}
 }
 



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