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
This commit is contained in:
parent
ce3b9e3aea
commit
af3e1b9f22
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user