Init file_cache to invalid (maj, min)
[fio.git] / blktrace.c
index 619121c704a90f198585293d976dffbe1984ca30..00e5f9a9b7d2b621b80bc50008b1b8f391f6ee76 100644 (file)
@@ -442,7 +442,10 @@ err:
 bool read_blktrace(struct thread_data* td)
 {
        struct blk_io_trace t;
-       struct file_cache cache = { };
+       struct file_cache cache = {
+               .maj = ~0U,
+               .min = ~0U,
+       };
        unsigned long ios[DDIR_RWDIR_SYNC_CNT] = { };
        unsigned long long rw_bs[DDIR_RWDIR_CNT] = { };
        unsigned long skipped_writes;