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);
-               }
        }
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to