]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: clamp to_submit in io_submit_sqes()
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 30 Dec 2019 18:24:44 +0000 (21:24 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:02 +0000 (17:04 -0700)
commitf8ca1cc03cd32b7c977652cb1d42b74672b2ced5
treeccba047a1b7d6ac914928ad170f469ae88a6aa18
parentc1dd3cccb64275ef9082d86c2844ac75dfaa8a6a
io_uring: clamp to_submit in io_submit_sqes()

Make io_submit_sqes() to clamp @to_submit itself. It removes duplicated
code and prepares for following changes.

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