Skip to content
Commit 0f7b4bc6 authored by Pan Bian's avatar Pan Bian Committed by Jens Axboe
Browse files

bsg: free the request before return error code



Free the request rq before returning error code.

Fixes: 972248e9 ("scsi: bsg-lib: handle bidi requests without block layer help")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent faa8e2c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment