summaryrefslogtreecommitdiffstats
path: root/cmd/raidz_test/raidz_test.c
diff options
context:
space:
mode:
authorGvozden Neskovic <[email protected]>2016-11-26 21:30:44 +0100
committerBrian Behlendorf <[email protected]>2017-05-04 19:26:28 -0400
commitc17486b2178fc545c50d48effd4be47d33208933 (patch)
tree82f82e4b72863f3096efd7e7db84aaec3f4b8757 /cmd/raidz_test/raidz_test.c
parent8fa5250f5d779e577406c581fc2d7fbf0baceea5 (diff)
Add missing *_destroy/*_fini calls
The proposed debugging enhancements in zfsonlinux/spl#587 identified the following missing *_destroy/*_fini calls. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gvozden Neskovic <[email protected]> Closes #5428
Diffstat (limited to 'cmd/raidz_test/raidz_test.c')
-rw-r--r--cmd/raidz_test/raidz_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/raidz_test/raidz_test.c b/cmd/raidz_test/raidz_test.c
index 500ac3dae..a2b7e6cbf 100644
--- a/cmd/raidz_test/raidz_test.c
+++ b/cmd/raidz_test/raidz_test.c
@@ -729,6 +729,8 @@ exit:
(ulong_t)tried_comb);
}
+ mutex_destroy(&sem_mtx);
+
return (sweep_state == SWEEP_ERROR ? SWEEP_ERROR : 0);
}