commit 77fca50a4631e152b71a976d29d35dec605db4bb
Author: Hannes Reinecke <hare@suse.de>
Date:   Thu Mar 20 15:30:15 2008 +0100

    Static path priority not correctly initialized
    
    Initialisation of static path priority wasn't done correctly,
    so it didn't work as expected.
    
    References: 359829
    Signed-off-by: Hannes Reinecke <hare@suse.de>

diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
index 9062f29..252d643 100644
--- a/libmultipath/propsel.c
+++ b/libmultipath/propsel.c
@@ -265,6 +265,7 @@ select_prio (struct path * pp)
 	if (mpe = find_mpe(pp->wwid)) {
 		if (mpe->getprio) {
 			pp->getprio = mpe->getprio;
+			pp->prio = prio_lookup(PRIO_COMMAND);
 			condlog(3, "%s: getprio = %s (LUN setting)",
 				pp->dev, pp->getprio);
 			return 0;
