io-wq: fix double put of 'wq' in error path
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Feb 2021 17:20:34 +0000 (10:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Mar 2021 13:34:00 +0000 (06:34 -0700)
commit470ec4ed8c91b4db398ad607c700e9ce88365202
tree6ff6767d6808e857a8df13272550012577646a5c
parentd364d9e5db41678b77ed95c41e3ccaad9ab99ba0
io-wq: fix double put of 'wq' in error path

We are already freeing the wq struct in both spots, so don't put it and
get it freed twice.

Reported-by: syzbot+7bf785eedca35ca05501@syzkaller.appspotmail.com
Fixes: 4fb6ac326204 ("io-wq: improve manager/worker handling over exec")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c