summaryrefslogtreecommitdiff
path: root/helpers.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-03-13 11:29:47 +0100
committerJens Axboe <jens.axboe@oracle.com>2010-03-13 11:29:47 +0100
commita54cf03496c0e181974a63c2b60b2dc522e4b8a9 (patch)
tree950cc5a2c4244cbcbb0574f9bece058c7b25cfe9 /helpers.c
parentae2ddba4e74f06b5ec986d1c3387cd14e69f8146 (diff)
downloadfio-a54cf03496c0e181974a63c2b60b2dc522e4b8a9.tar.gz
fio-a54cf03496c0e181974a63c2b60b2dc522e4b8a9.tar.bz2
Add __weak sync_file_range()
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'helpers.c')
-rw-r--r--helpers.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers.c b/helpers.c
index 9b1f3e90..779f9fbe 100644
--- a/helpers.c
+++ b/helpers.c
@@ -29,3 +29,9 @@ int __weak clock_gettime(clockid_t clk_id, struct timespec *ts)
return ret;
}
+
+int __weak sync_file_range(int fd, off64_t offset, off64_t nbytes,
+ unsigned int flags)
+{
+ return 0;
+}