]> git.proxmox.com Git - mirror_qemu.git/commit
block: Take graph rdlock in bdrv_drop_intermediate()
authorKevin Wolf <kwolf@redhat.com>
Mon, 11 Sep 2023 09:46:16 +0000 (11:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Sep 2023 15:46:01 +0000 (17:46 +0200)
commit733467a1e6067070a8b641f51675d0cb5b715a83
tree47de8c6c05d8a99490dbccf94f21b385891bb11d
parent356f4ef611df18f6f8323a9fe6e6b4963272bf74
block: Take graph rdlock in bdrv_drop_intermediate()

The function reads the parents list, so it needs to hold the graph lock.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-ID: <20230911094620.45040-18-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c