diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-19 13:33:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-25 05:36:41 +0100 |
commit | 0f7b4bc6bb1e57c48ef14f1818df947c1612b206 (patch) | |
tree | c79cbef50fe92f5c1976827bc174dd4dceaecc8a /drivers/block/virtio_blk.c | |
parent | bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set' (diff) | |
download | linux-0f7b4bc6bb1e57c48ef14f1818df947c1612b206.tar.xz linux-0f7b4bc6bb1e57c48ef14f1818df947c1612b206.zip |
bsg: free the request before return error code
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>
Diffstat (limited to 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions