io_uring: use regular request ref counts
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Mar 2019 16:16:44 +0000 (10:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 15 Mar 2019 04:08:43 +0000 (22:08 -0600)
commite65ef56db4945fb18a0d522e056c02ddf939e644
tree35ee9afed4d00f925ff8d05a98a61e2b9f768f16
parent12ad143e1b803e541e48b8ba40f550250259ecdd
io_uring: use regular request ref counts

Get rid of the special casing of "normal" requests not having
any references to the io_kiocb. We initialize the ref count to 2,
one for the submission side, and one or the completion side.

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