Message ID | 1426509425-15978-7-git-send-email-hare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c index 46f8f63..f64d5e4 100644 --- a/libmultipath/propsel.c +++ b/libmultipath/propsel.c @@ -351,12 +351,12 @@ select_getuid (struct path * pp) { char *origin; - pp_set_ovr(uid_attribute); pp_set_ovr(getuid); - pp_set_hwe(uid_attribute); + pp_set_ovr(uid_attribute); pp_set_hwe(getuid); - pp_set_conf(uid_attribute); + pp_set_hwe(uid_attribute); pp_set_conf(getuid); + pp_set_conf(uid_attribute); pp_set_default(uid_attribute, DEFAULT_UID_ATTRIBUTE); out: if (pp->uid_attribute)
We need first to check if the deprecated 'getuid' callout should be used, otherwise it might never be called. Signed-off-by: Hannes Reinecke <hare@suse.de> --- libmultipath/propsel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)