qcow2: remove incorrect coroutine_fn annotations
commit3840144987840131c6d490d2460443e4b9ef062e
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Sep 2022 08:49:01 +0000 (22 10:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 7 Oct 2022 10:11:40 +0000 (7 12:11 +0200)
tree302a633690dc708247ea3196d25d7f424e1f7166
parent881a4c553c06caa3b05a729b13d3cc781506c3a8
qcow2: remove incorrect coroutine_fn annotations

This is incorrect because qcow2_mark_clean() calls qcow2_flush_caches().
qcow2_mark_clean() is called from non-coroutine context in
qcow2_inactivate() and qcow2_amend_options().

Reviewed-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220922084924.201610-4-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c
block/qcow2.h