[dm-devel] [PATCH 06/78] libmultipath: Prefer deprecated 'getuid' callout
Hannes Reinecke
hare at suse.de
Mon Mar 16 12:35:53 UTC 2015
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 at suse.de>
---
libmultipath/propsel.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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)
--
1.8.4.5
More information about the dm-devel
mailing list