2 multipathd/main.c | 13 +++++++++----
3 1 file changed, 9 insertions(+), 4 deletions(-)
5 Index: multipath-tools-130222/multipathd/main.c
6 ===================================================================
7 --- multipath-tools-130222.orig/multipathd/main.c
8 +++ multipath-tools-130222/multipathd/main.c
9 @@ -310,10 +310,15 @@ ev_add_map (char * dev, char * alias, st
11 * now we can register the map
13 - if (map_present && (mpp = add_map_without_path(vecs, alias))) {
14 - sync_map_state(mpp);
15 - condlog(2, "%s: devmap %s registered", alias, dev);
18 + if ((mpp = add_map_without_path(vecs, alias))) {
19 + sync_map_state(mpp);
20 + condlog(2, "%s: devmap %s registered", alias, dev);
23 + condlog(2, "%s: uev_add_map failed", dev);
27 r = get_refwwid(dev, DEV_DEVMAP, vecs->pathvec, &refwwid);