1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
This commit is contained in:
Alasdair Kergon 2012-03-02 22:44:31 +00:00
parent 7162a25b0b
commit 8d2c7d28cc

1
lib/cache/lvmetad.c vendored
View File

@ -654,6 +654,7 @@ static int _pvscan_lvmetad_single(struct metadata_area *mda, void *baton)
struct _pvscan_lvmetad_baton *b = baton;
struct volume_group *this = mda->ops->vg_read(b->fid, "", mda, 1);
/* FIXME Also ensure contents match etc. */
if (!b->vg || this->seqno > b->vg->seqno)
b->vg = this;
else if (b->vg)