diff options
author | remko <remko@FreeBSD.org> | 2008-01-18 17:03:36 +0000 |
---|---|---|
committer | remko <remko@FreeBSD.org> | 2008-01-18 17:03:36 +0000 |
commit | c050b3d1bcac05db6fc25704525f78661d5de3ab (patch) | |
tree | a0c8a9f2bf15fcc46cefe4c734c7d664ef4b455d /sys | |
parent | d6aa139aefaddfda946f56f88c4e08544becbe38 (diff) | |
download | FreeBSD-src-c050b3d1bcac05db6fc25704525f78661d5de3ab.zip FreeBSD-src-c050b3d1bcac05db6fc25704525f78661d5de3ab.tar.gz |
Use nfsrv_destroycache() only once, else it crashes the server.
PR: kern/118152
Submitted by: Bjoern Groenvall <bg at sics dot se>
Approved by: imp (mentor, a while ago already), jhb
MFC After: 3 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsserver/nfs_srvsubs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_srvsubs.c b/sys/nfsserver/nfs_srvsubs.c index 4bf3bae..6db52b6 100644 --- a/sys/nfsserver/nfs_srvsubs.c +++ b/sys/nfsserver/nfs_srvsubs.c @@ -569,7 +569,6 @@ nfsrv_modevent(module_t mod, int type, void *data) syscall_deregister(&nfssvc_offset, &nfssvc_prev_sysent); callout_drain(&nfsrv_callout); nfsrv_destroycache(); /* Free the server request cache */ - nfsrv_destroycache(); /* Free the server request cache */ mtx_destroy(&nfsd_mtx); break; default: |