summaryrefslogtreecommitdiffstats
path: root/tools/pvresize.c
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2011-02-21 12:26:27 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2011-02-21 12:26:27 +0000
commit17ad2b1115ef83baf59de8a7cdbfc1852bfe7ade (patch)
tree347fd30e33201b7956cb008756d2fc37a3e0e357 /tools/pvresize.c
parent903d7db05042ba1e0532585ac460e91912a27fa5 (diff)
downloadlvm2-17ad2b1115ef83baf59de8a7cdbfc1852bfe7ade.tar.gz
lvm2-17ad2b1115ef83baf59de8a7cdbfc1852bfe7ade.tar.xz
lvm2-17ad2b1115ef83baf59de8a7cdbfc1852bfe7ade.zip
Change pv_write code to work with the changes in metadata handling interface
and changes in format_instance.
Diffstat (limited to 'tools/pvresize.c')
-rw-r--r--tools/pvresize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvresize.c b/tools/pvresize.c
index f347d9d3..f1870c6c 100644
--- a/tools/pvresize.c
+++ b/tools/pvresize.c
@@ -150,7 +150,7 @@ static int _pv_resize_single(struct cmd_context *cmd,
goto out;
}
backup(vg);
- } else if (!(pv_write(cmd, pv, NULL, INT64_C(-1)))) {
+ } else if (!(pv_write(cmd, pv))) {
log_error("Failed to store physical volume \"%s\"",
pv_name);
goto out;