Displaying 1 result from an estimated 1 matches for "b293edc".
Did you mean:
b293e87
2010 Feb 12
1
[RFC] add support for fallocate()
...filesystem does not
+ * support this feature or we run out of disk space.
+ */
+ do_fallocate(fd2, FALLOC_FL_KEEP_SIZE, 0, F_LENGTH(file));
+#endif
/* log the transfer */
if (log_before_transfer)
log_item(FCLIENT, file, iflags, NULL);
diff --git a/rsync.h b/rsync.h
index 731f4fe..b293edc 100644
--- a/rsync.h
+++ b/rsync.h
@@ -1241,3 +1241,7 @@ int inet_pton(int af, const char *src, void *dst);
#ifdef MAINTAINER_MODE
const char *get_panic_action(void);
#endif
+
+#ifdef HAVE_FALLOCATE
+#include <linux/falloc.h>
+#endif
diff --git a/syscall.c b/syscall.c
index aba0009..854010...