When specifying the 'prio' keyword in the multipath section
of the configuration file the value is ignored.
Problem is that the 'wwid' value is set only after the call
to select_prio(), so the correct definition couldn't been
found in the config file.
Signed-off-by: Hannes Reinecke <hare@suse.de>
}
}
+ if (path_state == PATH_UP && (mask & DI_WWID) && !strlen(pp->wwid))
+ get_uid(pp);
+
/*
* Retrieve path priority, even for PATH_DOWN paths if it has never
* been successfully obtained before.
}
}
- if (path_state == PATH_UP && (mask & DI_WWID) && !strlen(pp->wwid))
- get_uid(pp);
-
return 0;
blank: