diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 2c99b73c2fa9..7674b3148781 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -2085,6 +2085,8 @@ zvol_fini(void) list_destroy(&zvol_state_list); mutex_destroy(&zvol_state_lock); + + ida_destroy(&zvol_ida); } /* BEGIN CSTYLED */