From ed421bcc7bbcc1de1b78d27b792d982c4cca35f7 Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Thu, 20 Dec 2018 21:08:55 +0000 Subject: [PATCH] Fixes that issue. Hopefully works for all combinations. --- src/mdtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdtest.c b/src/mdtest.c index 6cacb5d..afc4fc6 100644 --- a/src/mdtest.c +++ b/src/mdtest.c @@ -549,7 +549,7 @@ void mdtest_stat(const int random, const int dirs, const long dir_iter, const ch uint64_t stop_items = items; - if( directory_loops != 1 ){ + if( directory_loops != 1 || leaf_only ){ stop_items = items_per_dir; }