OSDN Git Service

io_uring: fix NULL mm in io_poll_task_func()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 30 Jun 2020 12:20:41 +0000 (15:20 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Jun 2020 15:32:04 +0000 (09:32 -0600)
commitea1164e574e9af0a15ab730ead0861a4c7724142
tree8b40ae3a32753a378a024bf3d984416ee766b1dc
parentcf2f54255d0342cfbd273cbb964ad6bc7674f587
io_uring: fix NULL mm in io_poll_task_func()

io_poll_task_func() hand-coded link submission forgetting to set
TASK_RUNNING, acquire mm, etc. Call existing helper for that,
i.e. __io_req_task_submit().

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