[PATCH] Always open the files from the job itself
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index d005625a5dc7af2b03e257dabcdc4d4f395c7234..ed14c41f0c645bc5c9378b84d183e89c81955d34 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -656,6 +656,8 @@ static void *thread_main(void *data)
 
        if (!td->create_serialize && setup_files(td))
                goto err;
+       if (open_files(td))
+               goto err;
 
        gettimeofday(&td->epoch, NULL);