]> git.ipfire.org Git - thirdparty/linux.git/commit
block: align down bounces bios
authorChristoph Hellwig <hch@lst.de>
Thu, 7 May 2026 05:01:48 +0000 (07:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 May 2026 19:55:18 +0000 (13:55 -0600)
commite7b8b3c5b2a65595d506ffedafac66f0a11fbdc2
tree229c5a1ecd9d6f1242ff1b85d10c2488eee3dacb
parent32d5019ed3b6ff4439cb075fb275f655c8a2059c
block: align down bounces bios

Just like for the extract user pages path, we need to align down the
size to the supported boundary.

Fixes: 8dd5e7c75d7b ("block: add helpers to bounce buffer an iov_iter into bios")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Link: https://patch.msgid.link/20260507050153.1298375-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c