X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=os-freebsd.h;h=01c5ce917b57d9501774cd80d8a84e82b6df6b35;hb=e5b401d4bf67a1704f28872d3abe09eaf65cdabe;hp=6a4c11b634aa064ba37335b8e78f7c01858b9d98;hpb=a9619d44b439ac9c0d292925a5b4fd1b944d1263;p=fio.git diff --git a/os-freebsd.h b/os-freebsd.h index 6a4c11b6..01c5ce91 100644 --- a/os-freebsd.h +++ b/os-freebsd.h @@ -21,7 +21,12 @@ typedef unsigned int os_random_state_t; */ static inline int blockdev_size(int fd, unsigned long long *bytes) { - return 1; + return EINVAL; +} + +static inline int blockdev_invalidate_cache(int fd) +{ + return EINVAL; } static inline unsigned long long os_phys_mem(void)