summaryrefslogtreecommitdiff
path: root/fs/erofs/dir.c
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2020-06-15 07:14:59 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-01 04:02:58 +0300
commite7eea44eefbdd5f0345a0a8b80a3ca1c21030d06 (patch)
treeabf0c0c1f7ca8290cc8330425b35e25b1fccbd3a /fs/erofs/dir.c
parent3e20aa9630e5bcef4f1b9dcb7b50c5491867fd89 (diff)
downloadlinux-e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06.tar.xz
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>
Diffstat (limited to 'fs/erofs/dir.c')
0 files changed, 0 insertions, 0 deletions