From: Jens Axboe Date: Sun, 6 Apr 2014 15:57:59 +0000 (-0600) Subject: Merge branch 'master' of ssh://git.kernel.dk/data/git/fio X-Git-Tag: fio-2.1.8~11 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e413c2ccf8af0a0bce29530568ded346a894cf3d;hp=7788b76fe13059aa3610f592e58512cb5f4cdb28;p=fio.git Merge branch 'master' of ssh://git.kernel.dk/data/git/fio --- diff --git a/filesetup.c b/filesetup.c index fa09219f..bf05b6f0 100644 --- a/filesetup.c +++ b/filesetup.c @@ -806,7 +806,7 @@ int setup_files(struct thread_data *td) * Calculate per-file size and potential extra size for the * first files, if needed. */ - if (!o->file_size_low) { + if (!o->file_size_low && o->nr_files) { uint64_t all_fs; fs = o->size / o->nr_files;