]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: only flush workqueues on fileset removal
authorJens Axboe <axboe@kernel.dk>
Wed, 9 Oct 2019 20:40:13 +0000 (14:40 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Oct 2019 21:13:47 +0000 (15:13 -0600)
commit17b80bbe1bbc8b47a9b7ed9362562b9baf567116
tree3e9ca80637271c130150c57dc958390b8fbb1255
parentdbd70958ec05c435c327d310ab90b278b7ccb98e
io_uring: only flush workqueues on fileset removal

We should not remove the workqueue, we just need to ensure that the
workqueues are synced. The workqueues are torn down on ctx removal.

Cc: stable@vger.kernel.org
Fixes: 0e7ec4deae00 ("io_uring: add file set registration")
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c