repart: use real disk start/end for bar production
authorTom Yan <tom.ty89@gmail.com>
Sun, 19 Dec 2021 17:30:38 +0000 (01:30 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Jan 2022 18:41:21 +0000 (19:41 +0100)
commit0c3c3db042a24d11da7accf777029fbaf8db5a29
tree7e03542e98b274a92486ac7c3340ebc75ddcc3ca
parentc4d12459c6bc065bd255c9f5555ca20bf735e16a
repart: use real disk start/end for bar production

Partitions are not always within our aligned scope. Bar printing
involves foreign partitions as well.

Fixes #21817.

(cherry picked from commit d8daed09f37bc9f8ecb9268a4e371f65aec8b24a)
src/partition/repart.c