diff options
Diffstat (limited to 'lib/filters/filter-mpath.c')
-rw-r--r-- | lib/filters/filter-mpath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filters/filter-mpath.c b/lib/filters/filter-mpath.c index 53a767c5e..85d1625f6 100644 --- a/lib/filters/filter-mpath.c +++ b/lib/filters/filter-mpath.c @@ -274,12 +274,15 @@ static int _dev_is_mpath(struct dev_filter *f, struct device *dev) static int _ignore_mpath(struct cmd_context *cmd, struct dev_filter *f, struct device *dev, const char *use_filter_name) { + dev->filtered_flags &= ~DEV_FILTERED_MPATH_COMPONENT; + if (_dev_is_mpath(f, dev) == 1) { if (dev->ext.src == DEV_EXT_NONE) log_debug_devs(MSG_SKIPPING, dev_name(dev)); else log_debug_devs(MSG_SKIPPING " [%s:%p]", dev_name(dev), dev_ext_name(dev), dev->ext.handle); + dev->filtered_flags |= DEV_FILTERED_MPATH_COMPONENT; return 0; } |