summaryrefslogtreecommitdiff
path: root/engines/rados.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/rados.c')
-rw-r--r--engines/rados.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/rados.c b/engines/rados.c
index cde538b9..30fcebb5 100644
--- a/engines/rados.c
+++ b/engines/rados.c
@@ -342,7 +342,7 @@ int fio_rados_getevents(struct thread_data *td, unsigned int min,
}
assert(!flist_empty(&rados->completed_operations));
- fri = flist_last_entry(&rados->completed_operations, struct fio_rados_iou, list);
+ fri = flist_first_entry(&rados->completed_operations, struct fio_rados_iou, list);
assert(fri->completion);
assert(rados_aio_is_complete(fri->completion));
if (fri->write_op != NULL) {