mirror of
git://sourceware.org/git/lvm2.git
synced 2024-11-11 07:21:03 +03:00
pvscan: recognize "pci" as a common symlink component in filters
In case the filter strings don't include "/dev/disk", and only include "pci".
This commit is contained in:
parent
c9fdc828ff
commit
6d14144d31
@ -284,6 +284,8 @@ static int _filter_contains_symlink(struct cmd_context *cmd, int filter_cfg)
|
||||
return 1;
|
||||
if (strstr(fname, "wwn-"))
|
||||
return 1;
|
||||
if (strstr(fname, "pci-"))
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user