From 4c9c080e07f3d08b84ba011b2c1074c3e24439df Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 9 Oct 2001 08:11:52 +0000 Subject: [PATCH] o get_pvs now works for format 1 --- lib/format1/format1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/format1/format1.c b/lib/format1/format1.c index b19d38244..096c4e8a8 100644 --- a/lib/format1/format1.c +++ b/lib/format1/format1.c @@ -386,7 +386,7 @@ static struct list_head *_get_pvs(struct io_space *is) goto bad; } - if (!_import_pvs(mem, &pvs, results, &count)) { + if (!_import_pvs(is->mem, &pvs, results, &count)) { stack; goto bad; } @@ -411,8 +411,8 @@ struct io_space *create_lvm1_format(const char *prefix, struct pool *mem, { struct io_space *ios = dbg_malloc(sizeof(*ios)); - ios->get_vgs = _get_pvs; - ios->get_pvs = NULL; + ios->get_vgs = NULL; + ios->get_pvs = _get_pvs; ios->pv_read = NULL; ios->pv_write = NULL; ios->vg_read = _vg_read; -- 2.43.5