mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-27 13:00:25 +09:00
Snipped from commit9ca9fb24d5upstream. While reworking the poll hashing in the v6.0 kernel, we ended up grabbing the ctx->uring_lock in poll update/removal. This also fixed a bug with linked timeouts racing with timeout expiry and poll removal. Bring back just the locking fix for that. Bug: 289229683 Reported-and-tested-by: Querijn Voet <querijnqyn@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit0e388fce7a) Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: Ife3683f26b19af1887ae1c59d3bd8b4e1700c79a