From: Christophe Varoqui Date: Wed, 24 Oct 2007 20:31:21 +0000 (+0200) Subject: [defaults] rename hp_sw hwhandler X-Git-Tag: 0.4.9~254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea24bb081efe2564e680d501e4e4dda5daf9b43d;p=platform%2Fupstream%2Fmultipath-tools.git [defaults] rename hp_sw hwhandler HP storageworks handler has been submitted upstream. During the review, the name of the handler was changed from "dm_hp" to "dm-hp" for consistency with kernel code. This patch updates the hwtable for these HP arrays Signed-off-by: Dave Wysochanski --- diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c index f4bcf26..2fc4a72 100644 --- a/libmultipath/hwtable.c +++ b/libmultipath/hwtable.c @@ -65,7 +65,7 @@ static struct hwentry default_hw[] = { .getuid = DEFAULT_GETUID, .getprio = "/sbin/mpath_prio_hp_sw /dev/%n", .features = "1 queue_if_no_path", - .hwhandler = "1 hp_sw", + .hwhandler = "1 hp-sw", .selector = DEFAULT_SELECTOR, .pgpolicy = GROUP_BY_PRIO, .pgfailback = FAILBACK_UNDEF, @@ -96,7 +96,7 @@ static struct hwentry default_hw[] = { .getuid = DEFAULT_GETUID, .getprio = "/sbin/mpath_prio_hp_sw /dev/%n", .features = "1 queue_if_no_path", - .hwhandler = "1 hp_sw", + .hwhandler = "1 hp-sw", .selector = DEFAULT_SELECTOR, .pgpolicy = GROUP_BY_PRIO, .pgfailback = FAILBACK_UNDEF,