1
0
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:
Zdenek Kabelac 2016-01-14 11:54:37 +01:00
parent 278c5509ee
commit 88400b599e

View File

@ -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;