All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath: better check for daemon mode.
@ 2011-07-25 18:47 Benjamin Marzinski
  2011-09-01  2:46 ` Benjamin Marzinski
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Marzinski @ 2011-07-25 18:47 UTC (permalink / raw)
  To: device-mapper development

Switching to conf->daemon to check if we are in daemon mode.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 libmultipath/dmparser.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: multipath-tools-110713/libmultipath/dmparser.c
===================================================================
--- multipath-tools-110713.orig/libmultipath/dmparser.c
+++ multipath-tools-110713/libmultipath/dmparser.c
@@ -13,6 +13,7 @@
 #include "structs.h"
 #include "util.h"
 #include "debug.h"
+#include "config.h"
 
 #define WORD_SIZE 64
 
@@ -330,7 +331,7 @@ disassemble_map (vector pathvec, char * 
 				strncpy(pp->dev_t, word, BLK_DEV_SIZE);
 
 				/* Only call this in multipath client mode */
-				if (!mpp->waiter && store_path(pathvec, pp))
+				if (!conf->daemon && store_path(pathvec, pp))
 					goto out1;
 			}
 			FREE(word);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-30 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25 18:47 [PATCH] multipath: better check for daemon mode Benjamin Marzinski
2011-09-01  2:46 ` Benjamin Marzinski
2011-09-29  3:38   ` Benjamin Marzinski
2011-09-30  5:58     ` Christophe Varoqui
2011-09-30 15:08       ` Benjamin Marzinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.