io_uring: io_accept() should hold on to submit reference on retry
authorJens Axboe <axboe@kernel.dk>
Thu, 20 Feb 2020 16:59:02 +0000 (09:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Feb 2020 21:21:00 +0000 (14:21 -0700)
commit27ecb0374c807c823b6c3a2ed1bf841881891418
treed3bb169adcf6312bef13269f2cea4ac3260cbf12
parent1afadd58df493490c3ded24fe49761f30e065612
io_uring: io_accept() should hold on to submit reference on retry

Don't drop an early reference, hang on to it and let the caller drop
it. This makes it behave more like "regular" requests.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c