Commit e6958f1f authored by Andrei Warkentin's avatar Andrei Warkentin Committed by Greg Kroah-Hartman

dm exception store: fix init error path

commit aadbe266 upstream.

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>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33eb514c
......@@ -283,7 +283,7 @@ int dm_exception_store_init(void)
return 0;
persistent_fail:
dm_persistent_snapshot_exit();
dm_transient_snapshot_exit();
transient_fail:
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