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>
Mon, 2 Mar 2020 21:04:24 +0000 (14:04 -0700)
commite441d1cf20e1b9fc443e6130488d41e1941aae82
tree259b527bc9adb7e3f6b6897bb3a870e1f9caae07
parent29de5f6a350778a621a748cecc7efbb8f0cfa5a7
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