Skip to content

Add calls to mutex_destroy in virtio_balloon and virtio_mem

Maurice Hieronymus lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-balloon: Destroy mutex before freeing virtio_balloondrivers/virtio/virtio_balloon.c+2 -01 reply
2/2virtio-mem: Destroy mutex before freeing virtio_memdrivers/virtio/virtio_mem.c+2 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand (Red Hat)
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add calls to mutex_destroy in virtio_balloon and virtio_mem

In [1] it is pointed out that each mutex_init call should have a corresponding call to mutex_destroy; otherwise, it is considered a bug.

This patch adds the calls to mutex_destroy in virtio_balloon as well as virtio_mem.

Maurice Hieronymus (2):
virtio-balloon: Destroy mutex before freeing virtio_balloon
virtio-mem: Destroy mutex before freeing virtio_mem

 drivers/virtio/virtio_balloon.c | 2 ++
 drivers/virtio/virtio_mem.c     | 2 ++
 2 files changed, 4 insertions(+)

base-commit: d13f3ac64efb868d09cb2726b1e84929afe90235

Signature · 1 line
2.50.1