dlm: fix missing idr_destroy for recover_idr
authorDavid Teigland <teigland@redhat.com>
Thu, 15 Nov 2018 17:17:40 +0000 (11:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:20 +0000 (08:51 +0100)
commit1bcac298b943ebe41143f2b8ccb6ffd1d77155b9
tree5356bf50811e77d8296d509d6524a7d65bd6effc
parent8b01af683df2b381dfbd232455711cfbf2386b50
dlm: fix missing idr_destroy for recover_idr

[ Upstream commit 8fc6ed9a3508a0435b9270c313600799d210d319 ]

Which would leak memory for the idr internals.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/dlm/lockspace.c