aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Warkentin <andrey.warkentin@gmail.com>2012-03-28 13:41:22 -0400
committerLuis Henriques <luis.henriques@canonical.com>2012-04-05 11:17:31 -0400
commit03dbe50dde83acca2a7fa1e8d0e2e28350ff85c5 (patch)
tree7c4076375b5741885425a5fb2bfd445cada9605d
parentb4a4695caceedc2f22a45cf7eb03aba985a3c83b (diff)
dm exception store: fix init error path
BugLink: http://bugs.launchpad.net/bugs/971808 commit aadbe266f2f89ccc68b52f4effc7b3a8b29521ef upstream. Call the correct exit function on failure in dm_exception_store_init. Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/md/dm-exception-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c
index 0bdb201c2c2..7344534294a 100644
--- a/drivers/md/dm-exception-store.c
+++ b/drivers/md/dm-exception-store.c
@@ -282,7 +282,7 @@ int dm_exception_store_init(void)
282 return 0; 282 return 0;
283 283
284persistent_fail: 284persistent_fail:
285 dm_persistent_snapshot_exit(); 285 dm_transient_snapshot_exit();
286transient_fail: 286transient_fail:
287 return r; 287 return r;
288} 288}