virtio-blk: Fix memory leak among suspend/resume procedure
stable inclusion from linux-4.19.198 commit 600942d2fd49b90e44857d20c774b20d16f3130f -------------------------------- [ Upstream commit b71ba22e ] The vblk->vqs should be freed before we call init_vqs() in virtblk_restore(). Signed-off-by: NXie Yongji <xieyongji@bytedance.com> Link: https://lore.kernel.org/r/20210517084332.280-1-xieyongji@bytedance.comAcked-by: NJason Wang <jasowang@redhat.com> Signed-off-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录