io-wq: only remove worker from free_list, if it was there
authorJens Axboe <axboe@kernel.dk>
Wed, 17 Feb 2021 01:00:55 +0000 (18:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Feb 2021 00:25:22 +0000 (17:25 -0700)
commitbf1daa4bfc77a60e58bed392e659c9ddd0174340
treed6a181062750a59ecc0af77fe74ac9d42b91b040
parent4379bf8bd70b5de6bba7d53015b0c36c57a634ee
io-wq: only remove worker from free_list, if it was there

If the worker isn't on the free_list, don't attempt to delete it.

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