diff options
| author | Nikos Tsironis <ntsironis@arrikto.com> | 2021-01-22 17:25:54 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-03 16:44:23 +0100 |
| commit | 1527b4472cbd13cadf543b9c38e698b7336c92b0 (patch) | |
| tree | ca9b3ad4bbb220ba257a8289d24703e81a91bcd9 /lib/timerqueue.c | |
| parent | 06a7ca6fa81b91d643c6bce345855e2061e5ecb6 (diff) | |
dm era: Fix bitset memory leaks
commit 904e6b266619c2da5c58b5dce14ae30629e39645 upstream.
Deallocate the memory allocated for the in-core bitsets when destroying
the target and in error paths.
Fixes: eec40579d84873 ("dm: add era target")
Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com>
Reviewed-by: Ming-Hung Tsai <mtsai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
