diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-07-02 15:13:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-07-02 15:13:51 -0700 |
commit | 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf (patch) | |
tree | 9f00d49f93a7e6f3690fd64beeb550a625917bf4 /drivers/block | |
parent | c93493b7cd40c20708e3373a7cc8e8049460d7ce (diff) | |
parent | e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06 (diff) | |
download | linux-stable-7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf.tar.gz linux-stable-7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf.tar.bz2 linux-stable-7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf.zip |
Merge tag 'block-5.8-2020-07-01' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe:
- Use kvfree_sensitive() for the block keyslot free (Eric)
- Sync blk-mq debugfs flags (Hou)
- Memory leak fix in virtio-blk error path (Hou)
* tag 'block-5.8-2020-07-01' of git://git.kernel.dk/linux-block:
virtio-blk: free vblk-vqs in error path of virtblk_probe()
block/keyslot-manager: use kvfree_sensitive()
blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/virtio_blk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 9d21bf0f155e..980df853ee49 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -878,6 +878,7 @@ out_put_disk: put_disk(vblk->disk); out_free_vq: vdev->config->del_vqs(vdev); + kfree(vblk->vqs); out_free_vblk: kfree(vblk); out_free_index: |