1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

o get_pvs now works for format 1

This commit is contained in:
Joe Thornber 2001-10-09 08:11:52 +00:00
parent 677a06d5fd
commit 4c9c080e07

View File

@ -386,7 +386,7 @@ static struct list_head *_get_pvs(struct io_space *is)
goto bad; goto bad;
} }
if (!_import_pvs(mem, &pvs, results, &count)) { if (!_import_pvs(is->mem, &pvs, results, &count)) {
stack; stack;
goto bad; 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)); struct io_space *ios = dbg_malloc(sizeof(*ios));
ios->get_vgs = _get_pvs; ios->get_vgs = NULL;
ios->get_pvs = NULL; ios->get_pvs = _get_pvs;
ios->pv_read = NULL; ios->pv_read = NULL;
ios->pv_write = NULL; ios->pv_write = NULL;
ios->vg_read = _vg_read; ios->vg_read = _vg_read;