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:
parent
677a06d5fd
commit
4c9c080e07
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user