From: Jens Axboe Date: Mon, 1 Aug 2016 19:46:17 +0000 (-0600) Subject: backend: do_verify() cleanup X-Git-Tag: fio-2.14~68 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=059b61f219b15db434eddc2207b876c6a0bad6c0 backend: do_verify() cleanup Signed-off-by: Jens Axboe --- diff --git a/backend.c b/backend.c index 8a71490e..c3ad8312 100644 --- 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;