summaryrefslogtreecommitdiff
path: root/lib/label/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/label/label.c')
-rw-r--r--lib/label/label.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/label/label.c b/lib/label/label.c
index 42d7b6709..c122a4ebb 100644
--- a/lib/label/label.c
+++ b/lib/label/label.c
@@ -1109,10 +1109,7 @@ int label_scan_vg_online(struct cmd_context *cmd, const char *vgname,
* filter. We get devs from the pvs_online files, so we inherit the
* regex filtering from pvscan and don't have to do it ourself.
*/
- if (!cmd->enable_devices_file &&
- !cmd->enable_devices_list &&
- regex_filter_contains_symlink(cmd))
- cmd->filter_regex_skip = 1;
+ cmd->filter_regex_skip = 1;
cmd->filter_nodata_only = 1;