[lvm-devel] master - Fix premature return from get_pool_params

Marian Csontos mcsontos at fedoraproject.org
Thu Feb 13 09:51:52 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a060b3b39088d81a8b5d419ae8e2444aa9b9d8ec
Commit:        a060b3b39088d81a8b5d419ae8e2444aa9b9d8ec
Parent:        e8225b86158cb3ea8edc678327a2c33543a73c01
Author:        Marian Csontos <mcsontos at redhat.com>
AuthorDate:    Thu Feb 13 10:49:34 2014 +0100
Committer:     Marian Csontos <mcsontos at redhat.com>
CommitterDate: Thu Feb 13 10:50:56 2014 +0100

Fix premature return from get_pool_params

---
 tools/toollib.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/toollib.c b/tools/toollib.c
index 3dc76b8..7deb3a4 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -1673,7 +1673,6 @@ int get_pool_params(struct cmd_context *cmd,
 				  " converting to pool LVs.");
 			return_0;
 		}
-		return 1;
 	}
 
 	*passed_args = 0;




More information about the lvm-devel mailing list