]> 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)
commit16303a5366e723566e2fb18104ef4a93f5691624
tree45374e500d747bcedb4b34c0b9e64434dd7e179d
parent6e6814bb582d7587612d73c3708028966850c036
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