]> 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)
commit03336f8a555bb44342c7c73fd319121823877981
tree3e9ca80637271c130150c57dc958390b8fbb1255
parentf3466d508179f736e1895ca14696c3b3ad77a0a5
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: c90c9784c76b ("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