summaryrefslogtreecommitdiffstats
path: root/tools/vgremove.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2001-11-12 15:10:01 +0000
committerAlasdair Kergon <agk@redhat.com>2001-11-12 15:10:01 +0000
commit277237805ad05634ad53156826783cb0500e3c7a (patch)
treefeb9f06e32bde03513243bca8d6fcea31785ba3c /tools/vgremove.c
parent09bc639dbf4df6f9823a1aa68c8f83e4224f69d3 (diff)
downloadlvm2-277237805ad05634ad53156826783cb0500e3c7a.tar.gz
lvm2-277237805ad05634ad53156826783cb0500e3c7a.tar.xz
lvm2-277237805ad05634ad53156826783cb0500e3c7a.zip
iospace restructured
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index eec50db7..944685cc 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -35,7 +35,7 @@ static int vgremove_single(const char *vg_name)
int ret = 0;
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 doesn't exist", vg_name);
return ECMD_FAILED;
}
@@ -64,7 +64,7 @@ static int vgremove_single(const char *vg_name)
log_verbose("Removing physical volume %s from volume group %s",
dev_name(pv->dev), vg_name);
*pv->vg_name = '\0';
- if (!(ios->pv_write(ios, pv))) {
+ if (!(fid->ops->pv_write(fid, pv))) {
log_error("Failed to remove physical volume %s from "
"volume group %s", dev_name(pv->dev),
vg_name);