backend: do_verify() cleanup
[fio.git] / backend.c
index 8a71490e9a59424e6e243afc1f1eb8356443b3e2..c3ad8312de67f13d48e5e67ee9ae117945ba9a22 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -652,7 +652,7 @@ static void do_verify(struct thread_data *td, uint64_t verify_bytes)
                                break;
 
                        while ((io_u = get_io_u(td)) != NULL) {
-                               if (IS_ERR(io_u)) {
+                               if (IS_ERR_OR_NULL(io_u)) {
                                        io_u = NULL;
                                        ret = FIO_Q_BUSY;
                                        goto reap;