summaryrefslogtreecommitdiff
path: root/tools/lvreduce.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/lvreduce.c
parent09bc639dbf4df6f9823a1aa68c8f83e4224f69d3 (diff)
downloadlvm2-277237805ad05634ad53156826783cb0500e3c7a.tar.gz
iospace restructured
Diffstat (limited to 'tools/lvreduce.c')
-rw-r--r--tools/lvreduce.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lvreduce.c b/tools/lvreduce.c
index 48aaf3f26..caa122215 100644
--- a/tools/lvreduce.c
+++ b/tools/lvreduce.c
@@ -61,7 +61,7 @@ int lvreduce(int argc, char **argv)
argv++;
argc--;
- if (!(vg_name = extract_vgname(ios, lv_name))) {
+ if (!(vg_name = extract_vgname(fid, lv_name))) {
log_error("Please provide a volume group name");
return EINVALID_CMD_LINE;
}
@@ -71,7 +71,7 @@ int lvreduce(int argc, char **argv)
/* does VG exist? */
log_verbose("Finding 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;
}
@@ -180,7 +180,7 @@ int lvreduce(int argc, char **argv)
/********* FIXME Suspend lv ***********/
/* store vg on disk(s) */
- if (!ios->vg_write(ios, vg))
+ if (!fid->ops->vg_write(fid, vg))
return ECMD_FAILED;
/* FIXME Ensure it always displays errors? */