Displaying 1 result from an estimated 1 matches for "cfabc3".
Did you mean:
cfabc3e
2010 Nov 23
0
[PATCH 1/3] Add fadvise interface wrapper
...flag. This should allow us to minimize the effect of rsync on the
system's working set. Add the necessary wrapper to syscall.c.
[1] http://lkml.org/lkml/2010/11/21/59
---
syscall.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/syscall.c b/syscall.c
index cfabc3e..9f5b1c3 100644
--- a/syscall.c
+++ b/syscall.c
@@ -28,6 +28,7 @@
#ifdef HAVE_SYS_ATTR_H
#include <sys/attr.h>
#endif
+#include <fcntl.h>
extern int dry_run;
extern int am_root;
@@ -282,3 +283,13 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence)
return lseek(fd, offset, when...