projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4375382
)
dm exception store: fix init error path
author
Andrei Warkentin
<andrey.warkentin@gmail.com>
Wed, 28 Mar 2012 17:41:22 +0000
(18:41 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Wed, 28 Mar 2012 17:41:22 +0000
(18:41 +0100)
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>
drivers/md/dm-exception-store.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-exception-store.c
b/drivers/md/dm-exception-store.c
index 042e71996569b963a6d9ec1addd4ae5aab97a23c..aa70f7d43a1ab87750cee933d244eb098cb8d92b 100644
(file)
--- 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_
persist
ent_snapshot_exit();
+ dm_
transi
ent_snapshot_exit();
transient_fail:
return r;
}