mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
9pfs: mark more coroutine_fns
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20230309084456.304669-6-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d2223cddce
commit
c3b21fb189
2 changed files with 5 additions and 5 deletions
|
@ -203,7 +203,7 @@ typedef struct V9fsDir {
|
|||
QemuMutex readdir_mutex_L;
|
||||
} V9fsDir;
|
||||
|
||||
static inline void v9fs_readdir_lock(V9fsDir *dir)
|
||||
static inline void coroutine_fn v9fs_readdir_lock(V9fsDir *dir)
|
||||
{
|
||||
if (dir->proto_version == V9FS_PROTO_2000U) {
|
||||
qemu_co_mutex_lock(&dir->readdir_mutex_u);
|
||||
|
@ -212,7 +212,7 @@ static inline void v9fs_readdir_lock(V9fsDir *dir)
|
|||
}
|
||||
}
|
||||
|
||||
static inline void v9fs_readdir_unlock(V9fsDir *dir)
|
||||
static inline void coroutine_fn v9fs_readdir_unlock(V9fsDir *dir)
|
||||
{
|
||||
if (dir->proto_version == V9FS_PROTO_2000U) {
|
||||
qemu_co_mutex_unlock(&dir->readdir_mutex_u);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue