[multipathd] ev_add_map should return ok for spurious events
authorChristophe Varoqui <root@xa-s05.(none)>
Thu, 2 Mar 2006 11:09:02 +0000 (12:09 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Thu, 2 Mar 2006 11:09:02 +0000 (12:09 +0100)
Benjamin Marzinski, Redhat

multipathd/main.c

index 12c9498..a0d33fe 100644 (file)
@@ -680,12 +680,10 @@ ev_add_path (char * devname, struct vectors * vecs)
        pp = find_path_by_dev(vecs->pathvec, devname);
 
        if (pp) {
-               condlog(0, "%s: spurious uevent, path already in pathvec, %p",
-                       devname, pp->mpp);
-               /*
-                * allow reconfig of orphaned path here
-                */
-               if (pp->mpp) return 1;
+               condlog(0, "%s: spurious uevent, path already in pathvec",
+                       devname);
+               if (pp->mpp)
+                       return 0;
        }
        else {
                /*