X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=helpers.c;h=95625672b3417f0146e2f0c492a93ac4d54c54c0;hp=1b6dea8e19b684862233a9814c82e9f299fb71c9;hb=690e09aeff6111f0654899840280196cf8c96224;hpb=c3d3178b0e14dc1612b397f115d7853200b62146 diff --git a/helpers.c b/helpers.c index 1b6dea8e..95625672 100644 --- a/helpers.c +++ b/helpers.c @@ -9,6 +9,12 @@ #include "arch/arch.h" #include "os/os.h" +int _weak fallocate(int fd, int mode, off_t offset, off_t len) +{ + errno = ENOSYS; + return -1; +} + #ifndef __NR_fallocate int _weak posix_fallocate(int fd, off_t offset, off_t len) {