X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.c;h=77557dfdca12748f1db2249c05efc93a21b09f4b;hp=a69efb76c2d727cd3f5e883382270f4a3d53cc14;hb=225ba9e3433cf27d8ff7b213d9f78b7ef2776c70;hpb=5903e7b7907854014478b6febfc5645a203ff59e diff --git a/io_u.c b/io_u.c index a69efb76..77557dfd 100644 --- a/io_u.c +++ b/io_u.c @@ -1307,9 +1307,9 @@ again: else if (!queue_full(td)) { io_u = io_u_qpop(&td->io_u_freelist); + io_u->file = NULL; io_u->buflen = 0; io_u->resid = 0; - io_u->file = NULL; io_u->end_io = NULL; }