io-wq: fix error path leak of buffered write hash map
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Mar 2021 16:09:56 +0000 (09:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Mar 2021 13:37:59 +0000 (06:37 -0700)
commitdc7bbc9ef361bea331bf5258a35abcdef619d44d
tree14c95f5ff19500d2932c79af88acc52d8baefc0a
parent16270893d71219816513a255e6c3163bc7224ce4
io-wq: fix error path leak of buffered write hash map

The 'err' path should include the hash put, we already grabbed a reference
once we get that far.

Fixes: e941894eae31 ("io-wq: make buffered file write hashed work map per-ctx")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c