From: Andrei Warkentin <[email-masked]>

Call the correct exit function on failure in dm_exception_store_init.

Signed-off-by: Andrei Warkentin <[email-masked]>
Acked-by: Mike Snitzer <[email-masked]>
Cc: [email-masked]
Signed-off-by: Alasdair G Kergon <[email-masked]>

---
 drivers/md/dm-exception-store.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-3.3/drivers/md/dm-exception-store.c
===================================================================
--- linux-3.3.orig/drivers/md/dm-exception-store.c
+++ linux-3.3/drivers/md/dm-exception-store.c
@@ -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;
 }