Merge 717ceb487b
("dm clone: call kmem_cache_destroy() in dm_clone_init() error path") into android12-5.10-lts
Steps on the way to 5.10.180 Change-Id: I02658b2fdfd1efd902baf7003a7e1ff00e9bef25 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
commit
7a6cb8c4fa
@ -2221,6 +2221,7 @@ static int __init dm_clone_init(void)
|
||||
r = dm_register_target(&clone_target);
|
||||
if (r < 0) {
|
||||
DMERR("Failed to register clone target");
|
||||
kmem_cache_destroy(_hydration_cache);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user