mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
tidy
This commit is contained in:
parent
11779747ef
commit
15b38fa8dd
@ -437,9 +437,8 @@ static int _lvcreate(struct cmd_context *cmd, struct lvcreate_params *lp)
|
||||
return 0;
|
||||
|
||||
/* store vg on disk(s) */
|
||||
if (!vg_write(vg)) {
|
||||
if (!vg_write(vg))
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!lock_vol(cmd, lv->lvid.s, LCK_LV_ACTIVATE)) {
|
||||
/* FIXME Remove the failed lv we just added */
|
||||
|
Loading…
x
Reference in New Issue
Block a user