commit | 1c7b7d476e6aedd2a72ee08e3e59a14cf120946f | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Tue Jan 19 04:33:11 2021 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 04 11:37:42 2021 +0100 |
tree | 11ed67688188e1e5c8c850e4e6043daa0b784474 | |
parent | a9d9fd5bd24bc1409cb05e9ab79510edc49bb5ad [diff] |
bsg: free the request before return error code [ Upstream commit 0f7b4bc6bb1e57c48ef14f1818df947c1612b206 ] Free the request rq before returning error code. Fixes: 972248e9111e ("scsi: bsg-lib: handle bidi requests without block layer help") Signed-off-by: Pan Bian <bianpan2016@163.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>