diff options
author | David Teigland <teigland@redhat.com> | 2018-11-15 20:17:40 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2018-11-15 20:21:21 +0300 |
commit | 8fc6ed9a3508a0435b9270c313600799d210d319 (patch) | |
tree | ae435d2fd7e544cdc43cb6dec56ae0625c3ef6e7 /fs/dlm | |
parent | d47b41aceeadc6b58abc9c7c6485bef7cfb75636 (diff) | |
download | linux-8fc6ed9a3508a0435b9270c313600799d210d319.tar.xz |
dlm: fix missing idr_destroy for recover_idr
Which would leak memory for the idr internals.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lockspace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 3f992ef7a8c8..a0584bc5209a 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); /* |