[PATCH] Don't create files for engines that don't need them
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index a98539fc3fc6279cf288524fbd4baf5d5b3212fc..a9e87aa7cc35d32263d79965fa8ea94365d8e9d2 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -205,7 +205,7 @@ void init_disk_util(struct thread_data *td)
        dev_t dev;
        char *p;
 
-       if (!td->do_disk_util || (td->io_ops->flags & FIO_NETIO))
+       if (!td->do_disk_util || (td->io_ops->flags & (FIO_NETIO | FIO_NULLIO)))
                return;
 
        /*