[dm-devel] [PATCH 15/94] multipath-tools: replace (|) with [] when there is one element

tang.wenjun3 at zte.com.cn tang.wenjun3 at zte.com.cn
Fri Oct 14 01:55:57 UTC 2016


From: Xose Vazquez Perez <xose.vazquez at gmail.com>

Cc: Hannes Reinecke <hare at suse.de>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 libmultipath/hwtable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index bfe5df4..9a4ab6e 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -122,7 +122,7 @@ static struct hwentry default_hw[] = {
 	{
 		/* MSA 1040/2040 family */
 		.vendor        = "HP",
-		.product       = "MSA (1|2)040 SA(N|S)",
+		.product       = "MSA [12]040 SA[NS]",
 		.pgpolicy      = GROUP_BY_PRIO,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 		.no_path_retry = 18,
-- 
2.8.1.windows.1




More information about the dm-devel mailing list