From 565cc35f1c9bfd16465c69997c7ba7a6ab0809a0 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 10 Mar 2008 18:47:53 +0100 Subject: [PATCH] posixaio: Missing memset() Signed-off-by: Jens Axboe --- engines/posixaio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/posixaio.c b/engines/posixaio.c index 95141750..ddc75d1c 100644 --- a/engines/posixaio.c +++ b/engines/posixaio.c @@ -93,7 +93,7 @@ static int fio_posixaio_getevents(struct thread_data *td, unsigned int min, have_timeout = 1; r = 0; - suspend_list[0] = NULL; + memset(suspend_list, 0, sizeof(*suspend_list)); restart: list_for_each(entry, &td->io_u_busylist) { struct io_u *io_u = list_entry(entry, struct io_u, list); -- 2.25.1