Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm cache: destroy migration_cache if cache target registration failed
Commit 7e6358d ("dm: fix various targets to dm_register_target after module __init resources created") inadvertently introduced this bug when it moved dm_register_target() after the call to KMEM_CACHE(). Fixes: 7e6358d ("dm: fix various targets to dm_register_target after module __init resources created") Cc: [email protected] Signed-off-by: Shenghui Wang <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
- Loading branch information