commit | a3efc919b0dcc27d65a6e84edca209b91cee173d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 09 11:25:24 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 09 11:25:24 2012 +0100 |
tree | 6f56eaade2a070cbed8216b6614878ac5ca2ca06 | |
parent | 2e1df07d1ea30e0304cc65370f3ed161a6f22cd4 [diff] [blame] |
Move variables to backend, fix up line spaces Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/libfio.c b/libfio.c index cb917ce..76a36a6 100644 --- a/libfio.c +++ b/libfio.c
@@ -25,6 +25,15 @@ #include <string.h> #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",