1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

vgrename: add missing trace on error path

This commit is contained in:
David Teigland 2015-09-03 10:38:16 -05:00
parent 96dc03b337
commit 0a73a5012a

View File

@ -149,8 +149,10 @@ static int vg_rename_path(struct cmd_context *cmd, const char *old_vg_path,
if (!drop_cached_metadata(vg))
stack;
if (!lockd_rename_vg_before(cmd, vg))
if (!lockd_rename_vg_before(cmd, vg)) {
stack;
goto error;
}
/* Change the volume group name */
vg_rename(cmd, vg, vg_name_new);