io-wq: ensure that hash wait lock is IRQ disabling
authorJens Axboe <axboe@kernel.dk>
Tue, 31 Aug 2021 12:57:25 +0000 (06:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 10:04:47 +0000 (11:04 +0100)
commit92b69466102b456c58ae9725540013f893850b6d
tree146a52cadaa833613fcb651e0442e4b0337f467d
parent31132a895eaaa28439664ea4d70e6cc1b36f130e
io-wq: ensure that hash wait lock is IRQ disabling

commit 08bdbd39b58474d762242e1fadb7f2eb9ffcca71 upstream.

A previous commit removed the IRQ safety of the worker and wqe locks,
but that left one spot of the hash wait lock now being done without
already having IRQs disabled.

Ensure that we use the right locking variant for the hashed waitqueue
lock.

Fixes: a9a4aa9fbfc5 ("io-wq: wqe and worker locks no longer need to be IRQ safe")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io-wq.c