pseudofs: Destroy vncache hashtbl on pseudofs module unload.
Reviewed by: mjg, kib Differential Revision: https://reviews.freebsd.org/D31605 MFC after: 2 weeks
This commit is contained in:
parent
ae67737a4c
commit
0f74021fb6
@ -108,6 +108,7 @@ pfs_vncache_unload(void)
|
||||
KASSERT(pfs_vncache_entries == 0,
|
||||
("%d vncache entries remaining", pfs_vncache_entries));
|
||||
mtx_destroy(&pfs_vncache_mutex);
|
||||
hashdestroy(pfs_vncache_hashtbl, M_PFSVNCACHE, pfs_vncache_hash);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user