#include <sys/stat.h>
#include <dirent.h>
-#include "list.h"
+#include "flist.h"
#include "fio.h"
#include "blktrace_api.h"
ipo->ddir = DDIR_INVAL;
ipo->fileno = fileno;
ipo->file_action = FIO_LOG_OPEN_FILE;
- list_add_tail(&ipo->list, &td->io_log_list);
+ flist_add_tail(&ipo->list, &td->io_log_list);
}
static void trace_add_file(struct thread_data *td, __u32 device)
struct io_piece *ipo = malloc(sizeof(*ipo));
memset(ipo, 0, sizeof(*ipo));
- INIT_LIST_HEAD(&ipo->list);
+ INIT_FLIST_HEAD(&ipo->list);
/*
* the 512 is wrong here, it should be the hardware sector size...
*/