mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix vgsplit error paths to release vg_to lock.
This commit is contained in:
parent
54396b890d
commit
9ac3596d63
@ -1,5 +1,6 @@
|
||||
Version 2.02.34 -
|
||||
===================================
|
||||
Fix vgsplit error paths to release vg_to lock.
|
||||
Indicate whether or not VG is clustered in vgcreate log message.
|
||||
Mention default --clustered setting in vgcreate man page.
|
||||
Add config file overrides to clvmd when it reads the active LVs list.
|
||||
|
@ -288,11 +288,13 @@ int vgsplit(struct cmd_context *cmd, int argc, char **argv)
|
||||
|
||||
if (fill_vg_create_params(cmd, vg_name_to, &vp_new, &vp_def)) {
|
||||
unlock_vg(cmd, vg_name_from);
|
||||
unlock_vg(cmd, vg_name_to);
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
if (validate_vg_create_params(cmd, &vp_new)) {
|
||||
unlock_vg(cmd, vg_name_from);
|
||||
unlock_vg(cmd, vg_name_to);
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user