projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add __weak sync_file_range()
[fio.git]
/
helpers.c
diff --git
a/helpers.c
b/helpers.c
index 9b1f3e90468f58bc3e1f143d0fdbb29b3ae19573..779f9fbe9195d2a750788b34487e13ac24a588b9 100644
(file)
--- 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;
+}