]> git.baikalelectronics.ru Git - kernel.git/commit
mpage: pass the operation to bio_alloc
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Feb 2022 15:46:32 +0000 (16:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 27 Feb 2022 21:50:07 +0000 (14:50 -0700)
commit64a96030db24da2dd5cd89702d149081275b04be
tree6416e3cdb1735638880400ec50ed84aaa457af74
parentd5c4de32decc0cf5c7ba088d25855e1e1292fc21
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>
fs/mpage.c