]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor io_resubmit_prep()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:35 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commiteb9e2d51ad59e1231c6375bfdd95ab16304a1088
treeeeecdb8b894d0222e52497ba71717eafbe518911
parentf67afcc72f833b3a8d813b9818b7e70e476928ed
io_uring: refactor io_resubmit_prep()

It's awkward to pass return a value into a function for it to return it
back. Check it at the caller site and clean up io_resubmit_prep() a bit.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c