aio: split out iocb copy from io_submit_one()
authorJens Axboe <axboe@kernel.dk>
Sat, 24 Nov 2018 21:46:14 +0000 (14:46 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 16:48:18 +0000 (09:48 -0700)
commit9b1f4e33dae774ac0c14bf89a2ea260489581a90
treeaf952ad78bedfa62724658c82a592dd2d6ea5801
parent0e4e01d930c837fb1a45efc74743103692b64de6
aio: split out iocb copy from io_submit_one()

In preparation of handing in iocbs in a different fashion as well. Also
make it clear that the iocb being passed in isn't modified, by marking
it const throughout.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/aio.c