Skip to contentSkip to conversation

Fixup 3526 prio callout

PATCH New Hannes Reinecke 1 participant 1 message Sep 4, 2006 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixup 3526 prio callout

Hi Christophe,

the patch for adding 3526 has a small glitch; it should also call the prio-callout without any path. This patch fixes this up.

Please apply.

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke			[email protected]
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de

Fixup prio callout for IBM 3526

libmultipath/hwtable.c +1 -1
index 09cf0a4..c395bf1 100644
@@ -261,7 +261,7 @@ static struct hwentry default_hw[] = {
 		.vendor        = "IBM",
 		.product       = "3526",
 		.getuid        = DEFAULT_GETUID,
-		.getprio       = "/sbin/mpath_prio_tpc /dev/%n",
+		.getprio       = "mpath_prio_tpc /dev/%n",
 		.features      = DEFAULT_FEATURES,
 		.hwhandler     = DEFAULT_HWHANDLER,
 		.selector      = DEFAULT_SELECTOR,