projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
471bb52
)
posixaio: fix bad type passed to memset
author
Jens Axboe
<axboe@fb.com>
Tue, 15 Nov 2016 17:42:58 +0000
(10:42 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 15 Nov 2016 17:42:58 +0000
(10:42 -0700)
We want the full array cleared, not just the first element.
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/posixaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/posixaio.c
b/engines/posixaio.c
index e5411b75363ce0cac218eeeffbaf8771a3b50804..bddb1ec3f2697e43dff46dcc726ed31e419f27f0 100644
(file)
--- a/
engines/posixaio.c
+++ b/
engines/posixaio.c
@@
-109,7
+109,7
@@
static int fio_posixaio_getevents(struct thread_data *td, unsigned int min,
r = 0;
restart:
- memset(suspend_list, 0, sizeof(
*
suspend_list));
+ memset(suspend_list, 0, sizeof(suspend_list));
suspend_entries = 0;
io_u_qiter(&td->io_u_all, io_u, i) {
int err;