mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-28 20:25:52 +03:00
lvmanip: fix last commit and drop else
In last commit when removing if() branch this 'else' now has to be dropped.
This commit is contained in:
parent
278c5509ee
commit
88400b599e
@ -3136,7 +3136,8 @@ static struct alloc_handle *_alloc_init(struct cmd_context *cmd,
|
||||
/* FIXME Caller should ensure this */
|
||||
if (mirrors && !stripes)
|
||||
stripes = 1;
|
||||
else if (mirrors > 1)
|
||||
|
||||
if (mirrors > 1)
|
||||
area_count = mirrors * stripes;
|
||||
else
|
||||
area_count = stripes;
|
||||
|
Loading…
Reference in New Issue
Block a user