diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2025-05-06 09:17:55 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-05-06 16:42:27 +0300 |
| commit | d4099f8893b057ad7e8d61df76bdeaf807ebd679 (patch) | |
| tree | 7014d7430e34ec4fdf4a42206471dfbf27b0a97f /tools/perf/scripts/python | |
| parent | 0e8acffc1be10d53e909b3aa43831d6c2d25a579 (diff) | |
| download | linux-d4099f8893b057ad7e8d61df76bdeaf807ebd679.tar.xz | |
brd: fix aligned_sector from brd_do_discard()
The calculation is just wrong, fix it by round_up().
Fixes: 9ead7efc6f3f ("brd: implement discard support")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250506061756.2970934-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
