diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-01-14 11:54:37 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-01-14 11:55:47 +0100 |
commit | 88400b599efa2a06fcc29c1c69ef450aa0c98524 (patch) | |
tree | 0be292f9c0b0967eab9056127d5331e30ec5ab64 | |
parent | 278c5509ee88b6384e0ccdb8b8da994b020ffe75 (diff) | |
download | lvm2-88400b599efa2a06fcc29c1c69ef450aa0c98524.tar.gz |
lvmanip: fix last commit and drop else
In last commit when removing if() branch
this 'else' now has to be dropped.
-rw-r--r-- | lib/metadata/lv_manip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index ca9e0a13c..7ba52f9f4 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -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; |