Commit cce64ef
io_uring: fix poll file assign deadlock
We pass "unlocked" into io_assign_file() in io_poll_check_events(),
which can lead to double locking.
Fixes: 6bf9c47 ("io_uring: defer file assignment")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/2476d4ae46554324b599ee4055447b105f20a75a.1649862516.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent e941976 commit cce64ef
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5858 | 5858 | | |
5859 | 5859 | | |
5860 | 5860 | | |
| 5861 | + | |
5861 | 5862 | | |
5862 | | - | |
| 5863 | + | |
5863 | 5864 | | |
5864 | 5865 | | |
5865 | 5866 | | |
| |||
0 commit comments