1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00
This commit is contained in:
Alasdair Kergon 2002-12-03 13:27:23 +00:00
parent 11779747ef
commit 15b38fa8dd

View File

@ -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 */