summaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2016-11-25 12:54:21 +0100
committerGreg Kurz <groug@kaod.org>2017-01-25 09:34:35 +0100
commita1bf8b7414a336c9d26bf62efecdbe64b3617d76 (patch)
tree421c85f68c21248f59fac2777ef6e98aa80cd62e /hw/9pfs
parenta9e404600a9bd1e6a26431fc89e5069092e67f14 (diff)
downloadqemu-a1bf8b7414a336c9d26bf62efecdbe64b3617d76.zip
9pfs: add missing coroutine_fn annotations
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'hw/9pfs')
-rw-r--r--hw/9pfs/9p.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index fa58877570..58310ca8d5 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -1571,7 +1571,7 @@ out_nofid:
v9fs_string_free(&name);
}
-static void v9fs_fsync(void *opaque)
+static void coroutine_fn v9fs_fsync(void *opaque)
{
int err;
int32_t fid;
@@ -2337,7 +2337,7 @@ out_nofid:
v9fs_string_free(&symname);
}
-static void v9fs_flush(void *opaque)
+static void coroutine_fn v9fs_flush(void *opaque)
{
ssize_t err;
int16_t tag;