Fix ordering of nfscl_modevent() and ncl_uninit(). nfscl_modevent() must
be called after ncl_uninit() when unloading the nfscl module because ncl_uninit() uses ncl_iod_mutex which is destroyed in nfscl_modevent(). Reviewed by: rmacklem Approved by: trasz (mentor)
This commit is contained in:
parent
417612e0e4
commit
349af4de7d
1 changed files with 1 additions and 1 deletions
|
|
@ -1261,7 +1261,7 @@ static moduledata_t nfscl_mod = {
|
|||
nfscl_modevent,
|
||||
NULL,
|
||||
};
|
||||
DECLARE_MODULE(nfscl, nfscl_mod, SI_SUB_VFS, SI_ORDER_ANY);
|
||||
DECLARE_MODULE(nfscl, nfscl_mod, SI_SUB_VFS, SI_ORDER_FIRST);
|
||||
|
||||
/* So that loader and kldload(2) can find us, wherever we are.. */
|
||||
MODULE_VERSION(nfscl, 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue