summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-26 06:53:39 +0100
committerJens Axboe <axboe@kernel.dk>2026-01-28 05:16:39 -0700
commit6e7a6c80198ead08b11aa6cdc92e60a42fc5895f (patch)
treec03271e4e2f91c8397f7cf6a42636e529931eccd /rust/alloc/collections/git@git.tavy.me:linux.git
parent4ad357e39b2ecd5da7bcc7e840ee24d179593cd5 (diff)
iomap: simplify iomap_dio_bio_iter
Use iov_iter_count to check if we need to continue as that just reads a field in the iov_iter, and only use bio_iov_vecs_to_alloc to calculate the actual number of vectors to allocate for the bio. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Tested-by: Anuj Gupta <anuj20.g@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions