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:
parent
96dc03b337
commit
0a73a5012a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user