OSDN Git Service

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>
Sat, 21 Dec 2019 09:34:28 +0000 (10:34 +0100)
commitf00dc3be0ac5fa3eae960c8edab438991d193b93
tree2988dfff0d0a7044051cbc37199e4814cc0aac95
parenta51d1b417177aec15cfeaad619316a5d857a9d2b
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