diff options
author | Alasdair Kergon <agk@redhat.com> | 2001-11-12 15:10:01 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2001-11-12 15:10:01 +0000 |
commit | 277237805ad05634ad53156826783cb0500e3c7a (patch) | |
tree | feb9f06e32bde03513243bca8d6fcea31785ba3c /tools/vgscan.c | |
parent | 09bc639dbf4df6f9823a1aa68c8f83e4224f69d3 (diff) | |
download | lvm2-277237805ad05634ad53156826783cb0500e3c7a.tar.gz lvm2-277237805ad05634ad53156826783cb0500e3c7a.tar.xz lvm2-277237805ad05634ad53156826783cb0500e3c7a.zip |
iospace restructured
Diffstat (limited to 'tools/vgscan.c')
-rw-r--r-- | tools/vgscan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/vgscan.c b/tools/vgscan.c index a205be71..b7435bbe 100644 --- a/tools/vgscan.c +++ b/tools/vgscan.c @@ -30,7 +30,7 @@ int vgscan(int argc, char **argv) } log_verbose("Wiping cache of LVM-capable devices"); - persistent_filter_wipe(ios->filter); + persistent_filter_wipe(fid->cmd->filter); log_print("Reading all physical volumes (this may take a while...)"); @@ -42,7 +42,7 @@ static int vgscan_single(const char *vg_name) struct volume_group *vg; log_verbose("Checking for volume group %s", vg_name); - if (!(vg = ios->vg_read(ios, vg_name))) { + if (!(vg = fid->ops->vg_read(fid, vg_name))) { log_error("Volume group %s not found", vg_name); return ECMD_FAILED; } @@ -52,7 +52,7 @@ static int vgscan_single(const char *vg_name) if (!(vg->status & ACTIVE)) { vg->status |= ACTIVE; - if (!(ios->vg_write(ios, vg))) { + if (!(fid->ops->vg_write(fid, vg))) { log_error("Failed to activate volume group %s", vg_name); return ECMD_FAILED; |