commit | f0d193a0a4dd79ba811bb7c14edd6e676c683883 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Tue Jul 03 12:55:33 2012 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:15:38 2020 +0200 |
tree | f22b2f80ef6884c4a0fec309a1f7da189298babe | |
parent | 3d9c561b49f83e92c63d7cf36a8586d0189ccf04 [diff] |
dm persistent data: fix shadow_info_leak on dm_tm_destroy commit 25d7cd6faa7ae6ed2565617c3ee2500ccb8a9f7f upstream. Cleanup the shadow table before destroying the transaction manager. Reference: leak was identified with kmemleak when running test_discard_random_sectors in the thinp-test-suite. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>