mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
libspl: init/fini
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #17861
This commit is contained in:
committed by
Brian Behlendorf
parent
4e3b88927c
commit
d02ea5170a
@@ -505,6 +505,8 @@ kernel_init(int mode)
|
||||
{
|
||||
extern uint_t rrw_tsd_key;
|
||||
|
||||
libspl_init();
|
||||
|
||||
umem_nofail_callback(umem_out_of_memory);
|
||||
|
||||
physmem = sysconf(_SC_PHYS_PAGES);
|
||||
@@ -543,6 +545,8 @@ kernel_fini(void)
|
||||
system_taskq_fini();
|
||||
|
||||
random_fini();
|
||||
|
||||
libspl_fini();
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user