Add 'null' verify option
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 660db0701107264c0b491ff46eaaa39a6f9096ed..9c8ff2638df5ed3ea57bb943f04672a7b8f63077 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -666,7 +666,7 @@ static void io_completed(struct thread_data *td, struct io_u *io_u,
                icd->bytes_done[idx] += bytes;
 
                if (io_u->end_io) {
-                       ret = io_u->end_io(io_u);
+                       ret = io_u->end_io(td, io_u);
                        if (ret && !icd->error)
                                icd->error = ret;
                }