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:
2edd4cf
)
[multipathd] discarding an event is not an error
author
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 23 Nov 2005 09:57:46 +0000
(10:57 +0100)
committer
Christophe Varoqui
<root@xa-s05.(none)>
Wed, 23 Nov 2005 09:57:46 +0000
(10:57 +0100)
This avoids sending misleading "uxtrigger error" messages.
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
1849181
..
0a4759f
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-987,7
+987,7
@@
uev_trigger (struct uevent * uev, void * trigger_data)
vecs = (struct vectors *)trigger_data;
if (uev_discard(uev->devpath))
- return
1
;
+ return
0
;
basename(uev->devpath, devname);
lock(vecs->lock);