mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: fix NULL-mm for linked reqs
__io_queue_sqe() tries to handle all request of a link, so it's not enough to grab mm in io_sq_thread_acquire_mm() based just on the head. Don't check req->needs_mm and do it always. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
This commit is contained in:
parent
f6b6c7d6a9
commit
d3cac64c49
1 changed files with 11 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue