libmultipath: avoid frequent messages from filter_property()
[multipath-tools/.git] / libmultipath / configure.c
index ed3e30f..406cd4c 100644 (file)
@@ -1289,7 +1289,7 @@ int get_refwwid(enum mpath_cmds cmd, char *dev, enum devtypes dev_type,
                conf = get_multipath_config();
                pthread_cleanup_push(put_multipath_config, conf);
                if (pp->udev && pp->uid_attribute &&
-                   filter_property(conf, pp->udev) > 0)
+                   filter_property(conf, pp->udev, 3) > 0)
                        invalid = 1;
                pthread_cleanup_pop(1);
                if (invalid)
@@ -1329,7 +1329,7 @@ int get_refwwid(enum mpath_cmds cmd, char *dev, enum devtypes dev_type,
                conf = get_multipath_config();
                pthread_cleanup_push(put_multipath_config, conf);
                if (pp->udev && pp->uid_attribute &&
-                   filter_property(conf, pp->udev) > 0)
+                   filter_property(conf, pp->udev, 3) > 0)
                        invalid = 1;
                pthread_cleanup_pop(1);
                if (invalid)
@@ -1358,7 +1358,7 @@ int get_refwwid(enum mpath_cmds cmd, char *dev, enum devtypes dev_type,
                conf = get_multipath_config();
                pthread_cleanup_push(put_multipath_config, conf);
                if (pp->udev && pp->uid_attribute &&
-                   filter_property(conf, pp->udev) > 0)
+                   filter_property(conf, pp->udev, 3) > 0)
                        invalid = 1;
                pthread_cleanup_pop(1);
                if (invalid)