dlm: fix missing idr_destroy for recover_idr

Which would leak memory for the idr internals.

Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
David Teigland 2018-11-15 11:17:40 -06:00
parent d47b41acee
commit 8fc6ed9a35
1 changed files with 1 additions and 0 deletions

View File

@ -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);
/*