mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
mpage: pass the operation to bio_alloc
Refactor the mpage read/write page code to pass the op to bio_alloc instead of setting it just before the submission. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220222154634.597067-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
451f0b6f4c
commit
77c436de01
1 changed files with 21 additions and 29 deletions
50
fs/mpage.c
50
fs/mpage.c
Loading…
Add table
Add a link
Reference in a new issue