summaryrefslogtreecommitdiffstats
path: root/tools/vgconvert.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-05-21 03:04:52 +0000
committerAlasdair Kergon <agk@redhat.com>2009-05-21 03:04:52 +0000
commit25a2e7b80ecd0a0c8ce51380aa9aaf2b646225c9 (patch)
treeff216b29090ad4aab90887345ffe3a7cdfe59fdd /tools/vgconvert.c
parent58e57a05c0d49a53e1631d54e76351cc6ee34158 (diff)
downloadlvm2-25a2e7b80ecd0a0c8ce51380aa9aaf2b646225c9.tar.gz
lvm2-25a2e7b80ecd0a0c8ce51380aa9aaf2b646225c9.tar.xz
lvm2-25a2e7b80ecd0a0c8ce51380aa9aaf2b646225c9.zip
Pre-release cleanups.
Diffstat (limited to 'tools/vgconvert.c')
-rw-r--r--tools/vgconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgconvert.c b/tools/vgconvert.c
index eb841d7d..b37cf49e 100644
--- a/tools/vgconvert.c
+++ b/tools/vgconvert.c
@@ -38,7 +38,7 @@ static int vgconvert_single(struct cmd_context *cmd, const char *vg_name,
}
if (!consistent) {
- unlock_release_vg(cmd, vg, vg_name);
+ unlock_and_release_vg(cmd, vg, vg_name);
dev_close_all();
log_error("Volume group \"%s\" inconsistent", vg_name);
if (!(vg = recover_vg(cmd, vg_name, LCK_VG_WRITE)))