commit | e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06 | [log] [tgz] |
---|---|---|
author | Hou Tao <houtao1@huawei.com> | Mon Jun 15 12:14:59 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 30 19:02:58 2020 -0600 |
tree | abf0c0c1f7ca8290cc8330425b35e25b1fccbd3a | |
parent | 3e20aa9630e5bcef4f1b9dcb7b50c5491867fd89 [diff] |
virtio-blk: free vblk-vqs in error path of virtblk_probe() Else there will be memory leak if alloc_disk() fails. Fixes: 6a27b656fc02 ("block: virtio-blk: support multi virt queues per virtio-blk device") Signed-off-by: Hou Tao <houtao1@huawei.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>