Skip to content
Commit 6b79a428 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path



Otherwise the journal_io_cache will leak if dm_register_target() fails.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 6827af4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment