projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b432d
)
multipath: don't remove map twice
author
Benjamin Marzinski
<bmarzins@redhat.com>
Fri, 10 Feb 2012 18:13:12 +0000
(12:13 -0600)
committer
Christophe Varoqui
<christophe.varoqui@opensvc.com>
Sat, 11 Feb 2012 08:20:05 +0000
(09:20 +0100)
If setup_mutipath fails, it removes the map itself, so don't try to again.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index 1f95a2fa1f3b30119598cb04a8d8df11b35d1f02..9cf0a8098696b03e6b3fb9bac071335f801f3940 100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-530,7
+530,7
@@
rescan:
* update our state from kernel regardless of create or reload
*/
if (setup_multipath(vecs, mpp))
- goto fail
_map;
+ goto fail
; /* if setup_multipath fails, it removes the map */
sync_map_state(mpp);