From 8bb7679e73d3086a01b9d21a650b0d7a859412b6 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 4 Mar 2009 15:37:52 +0100 Subject: [PATCH] Botch edit in files setup Signed-off-by: Jens Axboe --- filesetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesetup.c b/filesetup.c index 461f130c..9862c7db 100644 --- a/filesetup.c +++ b/filesetup.c @@ -720,9 +720,9 @@ int add_file(struct thread_data *td, const char *fname) dprint(FD_FILE, "resize file array to %d files\n", new_size); td->files = realloc(td->files, new_size * sizeof(f)); - td->files[cur_files] = f; td->files_size = new_size; } + td->files[cur_files] = f; /* * init function, io engine may not be loaded yet -- 2.25.1