master - lvmanip: fix last commit and drop else

Zdenek Kabelac <[email protected]>
Newsgroups dev.linux.lists.lvm-devel
Message-ID <[email protected]>
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=88400b599efa2a06fcc29c1c69ef450aa0c98524
Commit:        88400b599efa2a06fcc29c1c69ef450aa0c98524
Parent:        278c5509ee88b6384e0ccdb8b8da994b020ffe75
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jan 14 11:54:37 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jan 14 11:55:47 2016 +0100

lvmanip: fix last commit and drop else

In last commit when removing if() branch
this 'else' now has to be dropped.
---
 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 ca9e0a1..7ba52f9 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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.