]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block/nfs.c
qemu/atomic.h: rename atomic_ to qatomic_
[mirror_qemu.git] / block / nfs.c
index 61a249a9fcaf2bdc44fc8388e5d1323db85be71f..f86e66037463576a5f17c510579fcf947a305b7d 100644 (file)
@@ -721,7 +721,7 @@ nfs_get_allocated_file_size_cb(int ret, struct nfs_context *nfs, void *data,
     }
 
     /* Set task->complete before reading bs->wakeup.  */
-    atomic_mb_set(&task->complete, 1);
+    qatomic_mb_set(&task->complete, 1);
     bdrv_wakeup(task->bs);
 }