io_uring: tctx->task_lock should be IRQ safe
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Feb 2021 17:33:53 +0000 (10:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Feb 2021 18:11:20 +0000 (11:11 -0700)
commit0b81e80c813f92520667c872d499a2dba8377be6
treede0d4fdfc6b131cf8e9f52aaf2b1dbb1d2fd645e
parent0d4370cfe36b7f1719123b621a4ec4d9c7a25f89
io_uring: tctx->task_lock should be IRQ safe

We add task_work from any context, hence we need to ensure that we can
tolerate it being from IRQ context as well.

Fixes: 7cbf1722d5fc ("io_uring: provide FIFO ordering for task_work")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c