commit | 8fc6ed9a3508a0435b9270c313600799d210d319 | [log] [tgz] |
---|---|---|
author | David Teigland <teigland@redhat.com> | Thu Nov 15 11:17:40 2018 -0600 |
committer | David Teigland <teigland@redhat.com> | Thu Nov 15 11:21:21 2018 -0600 |
tree | ae435d2fd7e544cdc43cb6dec56ae0625c3ef6e7 | |
parent | d47b41aceeadc6b58abc9c7c6485bef7cfb75636 [diff] [blame] |
dlm: fix missing idr_destroy for recover_idr Which would leak memory for the idr internals. Signed-off-by: David Teigland <teigland@redhat.com>
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 3f992ef..a0584bc 100644 --- a/fs/dlm/lockspace.c +++ b/fs/dlm/lockspace.c
@@ -807,6 +807,7 @@ static int release_lockspace(struct dlm_ls *ls, int force) dlm_delete_debug_file(ls); + idr_destroy(&ls->ls_recover_idr); kfree(ls->ls_recover_buf); /*