diff options
author | 2012-03-28 18:41:22 +0100 | |
---|---|---|
committer | 2012-03-28 18:41:22 +0100 | |
commit | aadbe266f2f89ccc68b52f4effc7b3a8b29521ef (patch) | |
tree | 94215da325017418a1420cebc7922ebfbebcfc69 /drivers/md/dm-exception-store.c | |
parent | Merge tag 'fbdev-updates-for-3.4' of git://github.com/schandinat/linux-2.6 (diff) | |
download | linux-aadbe266f2f89ccc68b52f4effc7b3a8b29521ef.tar.gz linux-aadbe266f2f89ccc68b52f4effc7b3a8b29521ef.tar.bz2 linux-aadbe266f2f89ccc68b52f4effc7b3a8b29521ef.zip |
dm exception store: fix init error path
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>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-exception-store.c')
-rw-r--r-- | drivers/md/dm-exception-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c index 042e71996569..aa70f7d43a1a 100644 --- a/drivers/md/dm-exception-store.c +++ b/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; } |