Skip to content

Commit

Permalink
dm exception store: fix init error path
Browse files Browse the repository at this point in the history
Call the correct exit function on failure in dm_exception_store_init.

Signed-off-by: Andrei Warkentin <[email protected]>
Acked-by: Mike Snitzer <[email protected]>
Cc: [email protected]
Signed-off-by: Alasdair G Kergon <[email protected]>
  • Loading branch information
andreiw authored and kergon committed Mar 28, 2012
1 parent 4375382 commit aadbe26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-exception-store.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit aadbe26

Please sign in to comment.