io-wq: make the io_wq ref counted
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 22:33:32 +0000 (15:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 23:11:59 +0000 (16:11 -0700)
commitb942f31ee0a16cdcce6847e1e008414d2573c493
tree4715079066dd2fc9ef58ad250bfd75018023d06d
parent86a761f81ec87a96572214f5db606f60d36aaf08
io-wq: make the io_wq ref counted

In preparation for sharing an io-wq across different users, add a
reference count that manages destruction of it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c