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>
Mon, 1 Mar 2021 17:21:07 +0000 (10:21 -0700)
commitbdfffb0f6afcc8f3de569bcf7ae3f261e7163d1d
tree6bbbb31b41bae480b8abb65358b2b1bd5debcf8e
parent0af12cdcccbda69aa26df22b8c0a0e951449b24c
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