diff options
author | Richard Yao <[email protected]> | 2017-05-20 14:01:55 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-06-13 15:29:21 -0400 |
commit | 8f7933fec906f14c40af297d2c89fc2567a39a1e (patch) | |
tree | 9a8a1492c5ee6084778e2136163a35241a5aed69 /module | |
parent | 5228cf011626081ee5dd4b6ce6fd31857d494e93 (diff) |
Fix zvol_init error handling
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/zvol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 72ea99af6..b2392305b 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -2367,6 +2367,7 @@ out_free: out_taskq: taskq_destroy(zvol_taskq); out: + ida_destroy(&zvol_ida); mutex_destroy(&zvol_state_lock); list_destroy(&zvol_state_list); |