Engines should not touch nr_open_files anymore
authorJens Axboe <jens.axboe@oracle.com>
Thu, 8 Mar 2007 12:23:10 +0000 (13:23 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 8 Mar 2007 12:23:10 +0000 (13:23 +0100)
Leftover fix, should have been included with the ->open_file()
addition.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c
engines/null.c

index 17d2437..2e136f3 100644 (file)
@@ -268,7 +268,6 @@ static int fio_netio_init(struct thread_data *td)
                f->real_file_size = f->file_size;
        }
 
-       td->nr_open_files = td->nr_files;
        return 0;
 }
 
index 7f45bd9..d61685c 100644 (file)
@@ -37,7 +37,6 @@ static int fio_null_setup(struct thread_data *td)
                f->file_size = f->real_file_size;
        }
 
-       td->nr_open_files = td->nr_files;
        return 0;
 }