summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-11-16 09:43:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-16 09:57:20 +0100
commit0f544353fec8e717d37724d95b92538e1de79e86 (patch)
tree810caca1a774d2f1274881b99912119bc4fa5c94 /lib
parent154d744fbefcd13648ff036db2d185319afa74dc (diff)
downloadlinux-0f544353fec8e717d37724d95b92538e1de79e86.tar.gz
linux-0f544353fec8e717d37724d95b92538e1de79e86.tar.bz2
linux-0f544353fec8e717d37724d95b92538e1de79e86.zip
io_uring: kill goto error handling in io_sqpoll_wait_sq()
Hunk extracted from commit 70aacfe66136809d7f080f89c492c278298719f4 upstream. If the sqpoll thread has died, the out condition doesn't remove the waiting task from the waitqueue. The goto and check are not needed, just make it a break condition after setting the error value. That ensures that we always remove ourselves from sqo_sq_wait waitqueue. Reported-by: Xingyuan Mo <hdthky0@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions