]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block/vdi.c
block: Mark bdrv_filter_bs() and callers GRAPH_RDLOCK
[mirror_qemu.git] / block / vdi.c
index 7cfd12b50deacf8e1ce453d75b4ccbd0180b39d5..8e144ce523b84f8c2675e4c589f6a9d7634cdcc3 100644 (file)
@@ -990,7 +990,7 @@ static void vdi_close(BlockDriverState *bs)
     migrate_del_blocker(&s->migration_blocker);
 }
 
-static int vdi_has_zero_init(BlockDriverState *bs)
+static int GRAPH_RDLOCK vdi_has_zero_init(BlockDriverState *bs)
 {
     BDRVVdiState *s = bs->opaque;