diff options
author | Ryan Moeller <[email protected]> | 2020-05-05 12:36:41 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-05 09:36:41 -0700 |
commit | ddc7a2dd3b099c280b4f3ed978f16fa6bd7012c0 (patch) | |
tree | 0de0ec20193a4244612e2eb71f7e43abf6aad02b /module | |
parent | 3e5d41d807b03e5f43afe3d859735b845c905f5f (diff) |
taskq: Don't leak system_delay_taskq on FreeBSD
Adds a missing taskq_destroy() call.
Reported by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10292
Diffstat (limited to 'module')
-rw-r--r-- | module/os/freebsd/spl/spl_taskq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/os/freebsd/spl/spl_taskq.c b/module/os/freebsd/spl/spl_taskq.c index b6a501f67..28cebc5dc 100644 --- a/module/os/freebsd/spl/spl_taskq.c +++ b/module/os/freebsd/spl/spl_taskq.c @@ -97,6 +97,7 @@ static void system_taskq_fini(void *arg) { + taskq_destroy(system_delay_taskq); taskq_destroy(system_taskq); uma_zdestroy(taskq_zone); tsd_destroy(&taskq_tsd); |