summaryrefslogtreecommitdiff
path: root/lib/format_pool
diff options
context:
space:
mode:
Diffstat (limited to 'lib/format_pool')
-rw-r--r--lib/format_pool/format_pool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/format_pool/format_pool.c b/lib/format_pool/format_pool.c
index 6f52d661e..c525c696f 100644
--- a/lib/format_pool/format_pool.c
+++ b/lib/format_pool/format_pool.c
@@ -120,7 +120,8 @@ static struct volume_group *_pool_vg_read(struct format_instance *fid,
if (!read_pool_pds(fid->fmt, vg_name, vg->vgmem, &pds))
goto_bad;
- vg->fid = fid;
+ vg_set_fid(vg, fid);
+
/* Setting pool seqno to 1 because the code always did this,
* although we don't think it's needed. */
vg->seqno = 1;