diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2026-10-28 10:41:45 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-10-29 07:15:47 -0600 |
| commit | 6c55f94317249bc195e197f6a8730c843e72ea8c (patch) | |
| tree | 716858d3a6ba044ef408e91faf060869ad9916ad /tools/lib/python/kdoc/python_version.py | |
| parent | 4fcc499ea9bc31b02393904a1903e794d146f5f7 (diff) | |
block: partitions/mac: compute the sectors in 64 bits
start_block and block_count are converted to 512 byte sectors in 32-bit
arithmetic, although put_partition() takes a sector_t. With a block size
above 512 bytes anything beyond 2TiB wraps and the partition lands on
top of another one.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Link: https://patch.msgid.link/20261028164415.1262013-43-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
