mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
cleanup: use trigraph
Shorter code...
This commit is contained in:
parent
879ea38c53
commit
19cc92230c
@ -3822,10 +3822,8 @@ static int _lvresize_adjust_extents(struct cmd_context *cmd, struct logical_volu
|
|||||||
lv->status |= LV_NOTSYNCED;
|
lv->status |= LV_NOTSYNCED;
|
||||||
|
|
||||||
dm_list_iterate_back_items(mirr_seg, &lv->segments) {
|
dm_list_iterate_back_items(mirr_seg, &lv->segments) {
|
||||||
if (seg_is_mirrored(mirr_seg))
|
seg_mirrors = seg_is_mirrored(mirr_seg) ?
|
||||||
seg_mirrors = lv_mirror_count(mirr_seg->lv);
|
lv_mirror_count(mirr_seg->lv) : 0;
|
||||||
else
|
|
||||||
seg_mirrors = 0;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user