diff options
author | Mike Snitzer <snitzer@kernel.org> | 2023-04-04 13:34:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-11 23:17:37 +0900 |
commit | e09a592fdd6c716506774bdbebb5f6c537b47767 (patch) | |
tree | 4b00cc3fcc0848b5033b33326c12c33b08280e64 /lib/debugobjects.c | |
parent | f3063e860f35ec6b7f7c197842f770f51546f625 (diff) |
dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
commit 6b79a428c02769f2a11f8ae76bf866226d134887 upstream.
Otherwise the journal_io_cache will leak if dm_register_target() fails.
Cc: stable@vger.kernel.org
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions