summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-02-23 07:59:08 -0800
committerJens Axboe <axboe@kernel.dk>2024-02-24 12:46:46 -0700
commit76a27e1b53b94b5a23c221434146fda3e9d8d8e0 (patch)
tree039677b709567b8519fbccc3fe83e5c1780e9d72 /block/blk.h
parent5affe497c346343ecc42e6095b60dafe15e1453e (diff)
downloadlinux-76a27e1b53b94b5a23c221434146fda3e9d8d8e0.tar.gz
linux-76a27e1b53b94b5a23c221434146fda3e9d8d8e0.tar.bz2
linux-76a27e1b53b94b5a23c221434146fda3e9d8d8e0.zip
block: cleanup __blkdev_issue_write_zeroes
Use min to calculate the next number of sectors like everyone else. Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20240223155910.3622666-3-kbusch@meta.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions