Commit aadbe266 authored by Andrei Warkentin's avatar Andrei Warkentin Committed by Alasdair G Kergon

dm exception store: fix init error path

Call the correct exit function on failure in dm_exception_store_init.
Signed-off-by: default avatarAndrei Warkentin <andrey.warkentin@gmail.com>
Acked-by: default avatarMike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent 43753826
...@@ -283,7 +283,7 @@ int dm_exception_store_init(void) ...@@ -283,7 +283,7 @@ int dm_exception_store_init(void)
return 0; return 0;
persistent_fail: persistent_fail:
dm_persistent_snapshot_exit(); dm_transient_snapshot_exit();
transient_fail: transient_fail:
return r; return r;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment