summaryrefslogtreecommitdiffstats
path: root/lib/cache/lvmetad.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-03-02 22:44:31 +0000
committerAlasdair Kergon <agk@redhat.com>2012-03-02 22:44:31 +0000
commit8d2c7d28cccd0e724e53a590c0aa0d82f10c5e38 (patch)
treeca4674cf230d9b005648fbe460f55b2a2f2b3822 /lib/cache/lvmetad.c
parent7162a25b0bdcf558a3a8621c74328cdaeed9ffac (diff)
downloadlvm2-8d2c7d28cccd0e724e53a590c0aa0d82f10c5e38.tar.gz
lvm2-8d2c7d28cccd0e724e53a590c0aa0d82f10c5e38.tar.xz
lvm2-8d2c7d28cccd0e724e53a590c0aa0d82f10c5e38.zip
a fixme
Diffstat (limited to 'lib/cache/lvmetad.c')
-rw-r--r--lib/cache/lvmetad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c
index cae999e5..f3e3727a 100644
--- a/lib/cache/lvmetad.c
+++ b/lib/cache/lvmetad.c
@@ -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)