master - cleanup: drop extra braces
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ff33d215ba488bc3abf7bb33f1c25ee1fc0e65c4 Commit: ff33d215ba488bc3abf7bb33f1c25ee1fc0e65c4 Parent: f183995f8ead0bf63aea6ce7983871015dc3efff Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Aug 15 13:52:21 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Aug 15 15:06:45 2014 +0200
cleanup: drop extra braces
--- tools/lvchange.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/lvchange.c +1 -1
@@ -993,7 +993,7 @@ static int _lvchange_single(struct cmd_context *cmd, struct logical_volume *lv, !arg_count(cmd, setactivationskip_ARG))/* Rest can be changed for stacked thin pool meta/data volumes */ ; - else if (!(lv_is_visible(lv)) && !lv_is_virtual_origin(lv)) { + else if (!lv_is_visible(lv) && !lv_is_virtual_origin(lv)) {log_error ("Unable to change internal LV %s directly" , lv->name);return ECMD_FAILED ;