master - cleanup: skip test if already tested for SIGN_PLUS
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1cdb6ca2b246bf5dc680abde3b0a2ea0192f1aaf Commit: 1cdb6ca2b246bf5dc680abde3b0a2ea0192f1aaf Parent: 1dcba13dfcccfb043f49708ca8f44c4d9fa9a260 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jun 11 13:09:11 2013 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jun 11 13:55:26 2013 +0200
cleanup: skip test if already tested for SIGN_PLUS
--- tools/lvresize.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
tools/lvresize.c +1 -3
@@ -537,9 +537,7 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg,return ECMD_PROCESSED ; } } - } - -if (lp->sign ==SIGN_MINUS ) { + }else if (lp->sign ==SIGN_MINUS ) {if (lp->extents >= lv->le_count) {log_error ("Unable to reduce %s below 1 extent" , lp->lv_name);