fork: move copy_io to block/blk-ioc.c
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 11:58:05 +0000 (12:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commit88c9a2ce520ba381bb70658c80ec704f4d60f728
treebec031fdc97a07949add2831079700f163184f95
parente92a559e6c9db93662a6071f1ecbfa2c1c3be5d3
fork: move copy_io to block/blk-ioc.c

Move the copying of the I/O context to the block layer as that is where
we can use the proper low-level interfaces.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c
include/linux/iocontext.h
kernel/fork.c