From: Jens Axboe Date: Thu, 8 Mar 2007 12:23:10 +0000 (+0100) Subject: Engines should not touch nr_open_files anymore X-Git-Tag: fio-1.14~67 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d16b88e20152be4d811ed2e0051f0b19cce1d5bf;ds=sidebyside Engines should not touch nr_open_files anymore Leftover fix, should have been included with the ->open_file() addition. Signed-off-by: Jens Axboe --- diff --git a/engines/net.c b/engines/net.c index 17d24374..2e136f3d 100644 --- a/engines/net.c +++ b/engines/net.c @@ -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; } diff --git a/engines/null.c b/engines/null.c index 7f45bd97..d61685c7 100644 --- a/engines/null.c +++ b/engines/null.c @@ -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; }