]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block.c
bsd-user: Implement revoke, access, eaccess and faccessat
[mirror_qemu.git] / block.c
diff --git a/block.c b/block.c
index 8cd16e757e328cda2b43e65c03319103129c1ff2..2c00dddd809886c2010c094ab9f7125cc0c59184 100644 (file)
--- a/block.c
+++ b/block.c
@@ -6298,7 +6298,7 @@ const char *bdrv_get_device_or_node_name(const BlockDriverState *bs)
 
 int bdrv_get_flags(BlockDriverState *bs)
 {
-    GLOBAL_STATE_CODE();
+    IO_CODE();
     return bs->open_flags;
 }