Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
[fio.git] / filesetup.c
index bf05b6f000e4caf6158c4f0783ca9d5806fa6cc8..abea1e60b726a8d82f503b054c83d76a66470210 100644 (file)
@@ -1279,13 +1279,6 @@ int add_file(struct thread_data *td, const char *fname, int numjob, int inc)
 
        set_already_allocated(file_name);
 
-       /*
-        * For adding files after the fact - if openfiles= isn't
-        * given as an option, ensure we allow at least one file open
-        */
-       if (!td->o.open_files)
-               td->o.open_files = 1;
-
        if (inc)
                td->o.nr_files++;