]> 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)
commit7d877eaeac9eaaace3c23bb3ea4e41317734a30e
tree7f54110dc0c2c73654341095f8345d1db687332d
parent6fcf25f0d5d7fe5c23bbd87bdc285901f27b4bd2
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