[PATCH] CFLAGS: -fstack-protector doesn't work on older compilers
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index da6fe8f3af0a55f2f0a26680f257b78f6996d0de..ebfa0d45a324111a3cda91a087909cf57e063cbe 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -322,8 +322,12 @@ struct io_u *get_io_u(struct thread_data *td, struct fio_file *f)
                return NULL;
        }
 
+       /*
+        * Set io data pointers.
+        */
        io_u->xfer_buf = io_u->buf;
        io_u->xfer_buflen = io_u->buflen;
+
        fio_gettime(&io_u->start_time, NULL);
        return io_u;
 }
@@ -381,5 +385,3 @@ void ios_completed(struct thread_data *td, struct io_completion_data *icd)
                put_io_u(td, io_u);
        }
 }
-
-