X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=libfio.c;h=76a36a616d55b473891085e3c2908b2ff0262931;hb=8c43656071208e1a14801b1ecfd0e4b0eadd6a4e;hp=cb917cef99af8c4be0e301992f2f97bc2e291000;hpb=2e1df07d1ea30e0304cc65370f3ed161a6f22cd4;p=fio.git diff --git a/libfio.c b/libfio.c index cb917cef..76a36a61 100644 --- a/libfio.c +++ b/libfio.c @@ -25,6 +25,15 @@ #include #include "fio.h" +/* + * Just expose an empty list, if the OS does not support disk util stats + */ +#ifndef FIO_HAVE_DISK_UTIL +FLIST_HEAD(disk_list); +#endif + +unsigned long arch_flags = 0; + static const char *fio_os_strings[os_nr] = { "Invalid", "Linux",