diff options
author | 2025-08-18 18:48:20 +0000 | |
---|---|---|
committer | 2025-08-18 13:10:25 -0600 | |
commit | 8aa5a3b68ad144da49a3d17f165e6561255e3529 (patch) | |
tree | c1c1e2d0fa21208589ad99c078273581a8204e03 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | Merge tag 'md-6.17-20250819' of gitolite.kernel.org:pub/scm/linux/kernel/git/mdraid/linux into block-6.17 (diff) | |
download | wireguard-linux-8aa5a3b68ad144da49a3d17f165e6561255e3529.tar.xz wireguard-linux-8aa5a3b68ad144da49a3d17f165e6561255e3529.zip |
loop: Consolidate size calculation logic into lo_calculate_size()
Renamed get_size to lo_calculate_size and merged the logic from get_size
and get_loop_size into a single function. Update all callers to use
lo_calculate_size. This is done in preparation for improving the size
detection logic.
Signed-off-by: Rajeev Mishra <rajeevm@hpe.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250818184821.115033-2-rajeevm@hpe.com
[axboe: massage commit message]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions