commit | 565cc35f1c9bfd16465c69997c7ba7a6ab0809a0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Mar 10 18:47:53 2008 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Mar 10 18:47:53 2008 +0100 |
tree | 026d733b9eee51097b9f3a2e4d07b95f49189524 | |
parent | 3c77037e67c4a4af29e12f760db2541bad6c5898 [diff] |
posixaio: Missing memset() Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/posixaio.c b/engines/posixaio.c index 9514175..ddc75d1 100644 --- a/engines/posixaio.c +++ b/engines/posixaio.c
@@ -93,7 +93,7 @@ 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);