cvs commit: src/sys/nfsserver nfs.h nfs_srvcache.c nfs_srvsubs.c
John Baldwin
jhb at FreeBSD.org
Tue Aug 1 16:27:16 UTC 2006
jhb 2006-08-01 16:27:15 UTC
FreeBSD src repository
Modified files:
sys/nfsserver nfs.h nfs_srvcache.c nfs_srvsubs.c
Log:
- Add a new function nfsrv_destroycache() to tear down the server request
cache when unloading the nfsserver module. This fixes a memory leak and
a stale pointer.
- Use callout_drain() rather than callout_stop() when unloading the
nfsserver module.
MFC after: 3 days
Revision Changes Path
1.80 +1 -0 src/sys/nfsserver/nfs.h
1.43 +14 -2 src/sys/nfsserver/nfs_srvcache.c
1.143 +2 -1 src/sys/nfsserver/nfs_srvsubs.c
More information about the cvs-src
mailing list