Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsg: free the request before return error code
[ Upstream commit 0f7b4bc ] Free the request rq before returning error code. Fixes: 972248e ("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>
- Loading branch information