linux-stable/drivers/block
Xie Yongji 600942d2fd virtio-blk: Fix memory leak among suspend/resume procedure
[ Upstream commit b71ba22e7c ]

The vblk->vqs should be freed before we call init_vqs()
in virtblk_restore().

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210517084332.280-1-xieyongji@bytedance.com
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:16:12 +02:00
..
aoe aoe: register default groups with device_add_disk() 2021-03-11 14:05:00 +01:00
drbd signal: Allow cifs and drbd to receive their terminating signals 2020-01-27 14:51:05 +01:00
mtip32xx block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
paride block: paride: pd: mark expected switch fall-throughs 2018-08-09 10:17:38 -06:00
rsxx block: rsxx: fix error return code of rsxx_pci_probe() 2021-03-17 16:43:51 +01:00
xen-blkback xen-blkback: don't leak persistent grants from xen_blkbk_map() 2021-03-30 14:37:03 +02:00
zram zram: register default groups with device_add_disk() 2021-03-11 14:05:00 +01:00
amiflop.c amiflop: clean up on errors during setup 2019-12-01 09:16:25 +01:00
ataflop.c ataflop: fix error handling during setup 2018-11-13 11:08:20 -08:00
brd.c brd: check and limit max_part par 2020-02-24 08:34:53 +01:00
cryptoloop.c
DAC960.c block/DAC960.c: make some arrays static const, shrinks object size 2018-08-21 11:00:17 -06:00
DAC960.h DAC960: don't use block layer bounce buffers 2018-05-11 15:07:54 -06:00
floppy.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
Kconfig block: rsxx: select CONFIG_CRC32 2021-01-17 14:04:22 +01:00
loop.c block: loop: set discard granularity and alignment for block device backed loop 2020-09-03 11:24:26 +02:00
loop.h block/loop: Use global lock for ioctl() operation. 2019-01-22 21:40:36 +01:00
Makefile block: Rename the null_blk_mod kernel module back into null_blk 2018-07-24 09:54:36 -06:00
nbd.c nbd: freeze the queue while we're adding connections 2021-02-03 23:23:23 +01:00
null_blk.h null_blk: fix zoned support for non-rq based operation 2018-09-12 18:21:11 -06:00
null_blk_main.c null_blk: fix passing of REQ_FUA flag in null_handle_rq 2020-09-03 11:24:23 +02:00
null_blk_zoned.c drivers/block/null_blk/main: Fix a double free in null_init. 2021-05-22 10:59:34 +02:00
pktcdvd.c pktcdvd: remove warning on attempting to register non-passthrough dev 2019-10-07 18:57:15 +02:00
ps3disk.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
ps3vram.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
rbd.c rbd: require global CAP_SYS_ADMIN for mapping and unmapping 2020-09-17 13:45:29 +02:00
rbd_types.h
skd_main.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
skd_s1120.h
sunvdc.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
swim.c swim: fix cleanup on setup error 2018-11-13 11:08:20 -08:00
swim3.c block/swim3: Fix -EBUSY error when re-opening device after unmount 2019-02-12 19:47:18 +01:00
swim_asm.S
sx8.c block: sanitize blk_get_request calling conventions 2018-05-14 08:55:12 -06:00
umem.c
umem.h
virtio_blk.c virtio-blk: Fix memory leak among suspend/resume procedure 2021-07-20 16:16:12 +02:00
xen-blkfront.c block: genhd: add 'groups' argument to device_add_disk 2021-03-11 14:04:59 +01:00
xsysace.c xsysace: Fix error handling in ace_setup 2019-05-08 07:21:51 +02:00
z2ram.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00