From: Andrei Warkentin Date: Wed, 28 Mar 2012 17:41:22 +0000 (+0100) Subject: dm exception store: fix init error path X-Git-Tag: v3.0.27~21 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a405fc43be9397d51a2d0bd8984e1a8c5002c944;p=karo-tx-linux.git dm exception store: fix init error path commit aadbe266f2f89ccc68b52f4effc7b3a8b29521ef upstream. Call the correct exit function on failure in dm_exception_store_init. Signed-off-by: Andrei Warkentin Acked-by: Mike Snitzer Signed-off-by: Alasdair G Kergon Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c index 0bdb201c2c2a..7344534294aa 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) return 0; persistent_fail: - dm_persistent_snapshot_exit(); + dm_transient_snapshot_exit(); transient_fail: return r; }