]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move send/recv IOPOLL check into prep
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 3 Jun 2020 15:03:25 +0000 (18:03 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Jun 2020 17:14:19 +0000 (11:14 -0600)
commit78836fc593c427af9cca3adc91de84e5011e7c6b
tree7f54110dc0c2c73654341095f8345d1db687332d
parentd90843c962ea6a13ede75edfc2f87d633a5adeaa
io_uring: move send/recv IOPOLL check into prep

Fail recv/send in case of IORING_SETUP_IOPOLL earlier during prep,
so it'd be done only once. Removes duplication as well

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