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:
5ec68ba
)
[multipathd] ev_add_map should return ok for spurious events
author
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 2 Mar 2006 11:09:02 +0000
(12:09 +0100)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Thu, 2 Mar 2006 11:09:02 +0000
(12:09 +0100)
Benjamin Marzinski, Redhat
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
12c9498
..
a0d33fe
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-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 {
/*