1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-24 17:57:48 +03:00

cleanup: drop extra braces

This commit is contained in:
Zdenek Kabelac 2014-08-15 13:52:21 +02:00
parent f183995f8e
commit ff33d215ba

View File

@ -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;