Update documentation wrt comment
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 7e5bfcc190585362a075d47b1134fbb049d5f1d2..4f4865b206cabcad74037d06675aaf82445add1a 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -379,7 +379,7 @@ struct io_u *get_io_u(struct thread_data *td)
         * from a requeue, io_u already setup
         */
        if (io_u->file)
-               return io_u;
+               goto out;
 
        f = get_next_file(td);
        if (!f) {
@@ -423,6 +423,7 @@ struct io_u *get_io_u(struct thread_data *td)
        /*
         * Set io data pointers.
         */
+out:
        io_u->xfer_buf = io_u->buf;
        io_u->xfer_buflen = io_u->buflen;