]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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, 18 Dec 2018 15:29:59 +0000 (08:29 -0700)
commit88a6f18b950e2e4dce57d31daa151105f4f3dcff
tree0e43fd6fbc3386b4bf96959d207c7c56a7300952
parent71ebc6fef0f53459f37fb39e1466792232fa52ee
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.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/aio.c