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:
50fff90
)
multipath: don't clear daemon setting on reconfigure
author
Benjamin Marzinski
<bmarzins@redhat.com>
Thu, 20 May 2010 04:00:45 +0000
(23:00 -0500)
committer
Christophe Varoqui
<christophe.varoqui@opensvc.com>
Thu, 20 May 2010 04:50:43 +0000
(06:50 +0200)
When you reconfigure multipathd, it needs to set the daemon flag in the
new config structure, so that the daemon only-code will still work.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
multipathd/main.c
patch
|
blob
|
history
diff --git
a/multipathd/main.c
b/multipathd/main.c
index
d2c2cc3
..
3d9ff31
100644
(file)
--- a/
multipathd/main.c
+++ b/
multipathd/main.c
@@
-1198,6
+1198,7
@@
reconfigure (struct vectors * vecs)
conf->checkint = DEFAULT_CHECKINT;
conf->max_checkint = MAX_CHECKINT(conf->checkint);
}
+ conf->daemon = 1;
configure(vecs, 1);
free_config(old);
return 0;