]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b465033352ff1dd30dbc8161c272b094a8fb0fa
tree45374e500d747bcedb4b34c0b9e64434dd7e179d
parentd99fdbee3221f3bc416abd38f9587aa1648e2a36
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