]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove 'state' argument from io_{read,write} path
authorJens Axboe <axboe@kernel.dk>
Tue, 23 Apr 2019 14:17:58 +0000 (08:17 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Apr 2019 14:17:58 +0000 (08:17 -0600)
commit77cd2304cb54c12776e0f702d5c598a89375b7c3
treef310ade889e169f6654ef4ba5747a7bb581e859c
parentd6761ac0ad89a75253ab9a653756819d67bd3b10
io_uring: remove 'state' argument from io_{read,write} path

Since commit 95c77e07ff1 we don't use the state argument for any sort
of on-stack caching in the io read and write path. Remove the stale
and unused argument from them, and bubble it up to __io_submit_sqe()
and down to io_prep_rw().

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