Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-blk: Fix memory leak among suspend/resume procedure
OpenAnolis Bug Tracker: 0000311 commit b71ba22e7c6c6b279c66f53ee7818709774efa1f upstream. The vblk->vqs should be freed before we call init_vqs() in virtblk_restore(). Signed-off-by: Xie Yongji <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Jason Wang <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: hongnanli <[email protected]> Reviewed-by: Joseph Qi <[email protected]>
- Loading branch information