summaryrefslogtreecommitdiff
path: root/include/linux/vmstat.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-05-06 14:17:55 +0800
committerJens Axboe <axboe@kernel.dk>2025-05-06 07:42:27 -0600
commitd4099f8893b057ad7e8d61df76bdeaf807ebd679 (patch)
tree7014d7430e34ec4fdf4a42206471dfbf27b0a97f /include/linux/vmstat.h
parent0e8acffc1be10d53e909b3aa43831d6c2d25a579 (diff)
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 'include/linux/vmstat.h')
0 files changed, 0 insertions, 0 deletions