summaryrefslogtreecommitdiffstats
path: root/tools/vgextend.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2003-07-04 22:34:56 +0000
committerAlasdair Kergon <agk@redhat.com>2003-07-04 22:34:56 +0000
commit914c97239fe2dcc551ce28f2b1b40af8c7797369 (patch)
treebe45472e984e6098a1a8e02fd1ad1e0f1532bb41 /tools/vgextend.c
parent8ac97125399fb2cbcad7ae61e49f4af1a021ce25 (diff)
downloadlvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.tar.gz
lvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.tar.xz
lvm2-914c97239fe2dcc551ce28f2b1b40af8c7797369.zip
Another sync point - numerous fixes & clean ups.
Diffstat (limited to 'tools/vgextend.c')
-rw-r--r--tools/vgextend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgextend.c b/tools/vgextend.c
index 0cb9f073..a391b1a0 100644
--- a/tools/vgextend.c
+++ b/tools/vgextend.c
@@ -92,7 +92,7 @@ int vgextend(struct cmd_context *cmd, int argc, char **argv)
"physical volumes", vg_name, argc);
/* store vg on disk(s) */
- if (!vg_write(vg))
+ if (!vg_write(vg) || !vg_commit(vg))
goto error;
backup(vg);