1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +03:00
lvm2/lib/metadata
David Teigland 3c53acb378 metadata: fix segfault when filters reject devices
Checking for devices uses is_missing_pv() to check
if there is a device for the PV.  is_missing_pv()
is based on the MISSING_PV flag, which does not
always correspond to !pv->dev.  When using lvmetad,
a command like:

pvs --config 'devices/filter=["a|/dev/sdb|", "r|.*|"]'

will cause a number of PVs to have NULL pv->dev, but
not the MISSING_PV flag.  So, NULL pv->dev needs to
also be checked.
2016-04-27 12:13:26 -05:00
..
2016-04-26 23:59:20 +02:00
2016-01-21 12:11:37 +01:00
2016-03-10 18:38:53 +01:00
2016-01-21 12:11:37 +01:00
2016-02-25 23:30:25 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-02-15 12:44:46 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-02-23 12:25:25 +01:00
2016-03-03 13:50:57 +01:00
2016-03-03 13:50:57 +01:00