]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - multipath-tools/patches/0050-RH-listing-speedup.patch
multipath-tools: Update to snapshot from 2013-02-22
[people/stevee/ipfire-3.x.git] / multipath-tools / patches / 0050-RH-listing-speedup.patch
diff --git a/multipath-tools/patches/0050-RH-listing-speedup.patch b/multipath-tools/patches/0050-RH-listing-speedup.patch
new file mode 100644 (file)
index 0000000..4742634
--- /dev/null
@@ -0,0 +1,17 @@
+---
+ multipath/main.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: multipath-tools-130222/multipath/main.c
+===================================================================
+--- multipath-tools-130222.orig/multipath/main.c
++++ multipath-tools-130222/multipath/main.c
+@@ -311,7 +311,7 @@ configure (void)
+       /*
+        * get a path list
+        */
+-      if (conf->dev)
++      if (conf->dev && !conf->list)
+               di_flag = DI_WWID;
+       if (conf->list > 1)