projects
/
multipath-tools
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a988b71
)
multipathd: Correctly initialize udev context
author
Hannes Reinecke
<hare@suse.de>
Fri, 13 Dec 2013 12:12:45 +0000
(13:12 +0100)
committer
Christophe Varoqui
<christophe.varoqui@opensvc.com>
Fri, 13 Dec 2013 21:43:00 +0000
(22:43 +0100)
The udev context is passed as argument to ueventloop(), so
we should be using that instead of the global variable.
Signed-off-by: Hannes Reinecke <hare@suse.de>
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
6872e6f
..
92efc6c
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-839,6
+839,8
@@
out:
static void *
ueventloop (void * ap)
{
static void *
ueventloop (void * ap)
{
+ struct udev *udev = ap;
+
if (uevent_listen(udev))
condlog(0, "error starting uevent listener");
if (uevent_listen(udev))
condlog(0, "error starting uevent listener");