diff options
author | Shenghui Wang <shhuiw@foxmail.com> | 2018-10-07 08:45:41 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-10-09 19:53:03 +0200 |
commit | c7cd55504a5b0fc826a2cd9540845979d24ae542 (patch) | |
tree | 4a9cff7ad26a5797094f792bed90ccb5695f6247 /init | |
parent | Linux 4.19-rc7 (diff) | |
download | linux-c7cd55504a5b0fc826a2cd9540845979d24ae542.tar.xz linux-c7cd55504a5b0fc826a2cd9540845979d24ae542.zip |
dm cache: destroy migration_cache if cache target registration failed
Commit 7e6358d244e47 ("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: 7e6358d244e47 ("dm: fix various targets to dm_register_target after module __init resources created")
Cc: stable@vger.kernel.org
Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions