Rename FIO_TYPE_BD to FIO_TYPE_BLOCK
[fio.git] / engines / mmap.c
index 99e1d6a4b35861ccb8be485cf4831d36c72ce40a..bc038f4febac88d68167f30e09d212942bbce582 100644 (file)
@@ -67,7 +67,7 @@ static int fio_mmap_file(struct thread_data *td, struct fio_file *f,
        }
 
 #ifdef FIO_MADV_FREE
-       if (f->filetype == FIO_TYPE_BD)
+       if (f->filetype == FIO_TYPE_BLOCK)
                (void) posix_madvise(fmd->mmap_ptr, fmd->mmap_sz, FIO_MADV_FREE);
 #endif