]> 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)
commit6f1eac109c6117483c1f521027eb95b96b98717f
treef310ade889e169f6654ef4ba5747a7bb581e859c
parent03a250630e22d5188ed2d305b88da8cc6630e0a0
io_uring: remove 'state' argument from io_{read,write} path

Since commit 0063b7aa302 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