X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=iolog.c;h=b8ee067fa7d948f744ef24045fef28038f76b40d;hb=96ed30cee2c29a61a7c45ab56335ff23d70e377d;hp=5fd9416c036ec2454030b4ddf6772eab487efa30;hpb=f940128526dbe468a1951cce10c2fe5dbd23875f;p=fio.git diff --git a/iolog.c b/iolog.c index 5fd9416c..b8ee067f 100644 --- a/iolog.c +++ b/iolog.c @@ -323,8 +323,7 @@ static int read_iolog2(struct thread_data *td, FILE *f) } else if (r == 2) { rw = DDIR_INVAL; if (!strcmp(act, "add")) { - td->o.nr_files++; - fileno = add_file(td, fname); + fileno = add_file(td, fname, 0, 1); file_action = FIO_LOG_ADD_FILE; continue; } else if (!strcmp(act, "open")) {