commit | 1d5e50da5cc7483849b815ee34559be4f3902a3b | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Jan 12 21:17:24 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 17 14:16:52 2021 +0100 |
tree | 1125f45ebda4a7bbf54e72548b5a5f06f7c03b80 | |
parent | bca9ca5a603f6c5586a7dfd35e06abe6d5fcd559 [diff] |
io_uring: synchronise IOPOLL on task_submit fail commit 81b6d05ccad4f3d8a9dfb091fb46ad6978ee40e4 upstream io_req_task_submit() might be called for IOPOLL, do the fail path under uring_lock to comply with IOPOLL synchronisation based solely on it. Cc: stable@vger.kernel.org # 5.5+ Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>