mirror of
https://github.com/opnsense/src.git
synced 2026-03-25 04:03:09 -04:00
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
This commit is contained in:
parent
3705dda7e4
commit
becffb36cc
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue