diff options
-rw-r--r-- | util/rfifolock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/rfifolock.c b/util/rfifolock.c index c22f5feeee..084c2f0ea1 100644 --- a/util/rfifolock.c +++ b/util/rfifolock.c @@ -58,9 +58,9 @@ void rfifolock_lock(RFifoLock *r) } qemu_cond_wait(&r->cond, &r->lock); } + qemu_thread_get_self(&r->owner_thread); } - qemu_thread_get_self(&r->owner_thread); r->nesting++; qemu_mutex_unlock(&r->lock); } |