mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Add suggest parentheses around '&&'
Follow gcc suggestion.
This commit is contained in:
parent
886d005616
commit
e24be2abe4
@ -406,8 +406,8 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv)
|
|||||||
else
|
else
|
||||||
repstr[6] = '-';
|
repstr[6] = '-';
|
||||||
|
|
||||||
if ((lv_is_thin_volume(lv) && (seg = first_seg(lv)) && seg->pool_lv && (seg = first_seg(seg->pool_lv))) ||
|
if (((lv_is_thin_volume(lv) && (seg = first_seg(lv)) && seg->pool_lv && (seg = first_seg(seg->pool_lv))) ||
|
||||||
(lv_is_thin_pool(lv) && (seg = first_seg(lv))) &&
|
(lv_is_thin_pool(lv) && (seg = first_seg(lv)))) &&
|
||||||
seg->zero_new_blocks)
|
seg->zero_new_blocks)
|
||||||
repstr[7] = 'z';
|
repstr[7] = 'z';
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user