io_uring: unconditionally grab req->task
authorJens Axboe <axboe@kernel.dk>
Thu, 24 Sep 2020 14:45:57 +0000 (08:45 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:32 +0000 (20:32 -0600)
commite3bc8e9dad7f2f83cc807111d4472164c9210153
tree45374e500d747bcedb4b34c0b9e64434dd7e179d
parent2aede0e417db846793c276c7a1bbf7262c8349b0
io_uring: unconditionally grab req->task

Sometimes we assign a weak reference to it, sometimes we grab a
reference to it. Clean this up and make it unconditional, and drop the
flag related to tracking this state.

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