Displaying 1 result from an estimated 1 matches for "e1a02a3c".
Did you mean:
e102a38
2020 May 25
0
[PATCH] Make len parameter of do_punch_hole OFF_T
The argument passed to do_punch_hole is a OFF_T to beginning with, and
otherwise holes bigger than 2G will cause rsync to fail.
---
syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/syscall.c b/syscall.c
index e1a02a3c..e8ce7d5c 100644
--- a/syscall.c
+++ b/syscall.c
@@ -523,7 +523,7 @@ OFF_T do_fallocate(int fd, OFF_T offset, OFF_T length)
/* Punch a hole at pos for len bytes. The current file position must be at pos and will be
* changed to be at pos + len. */
-int do_punch_hole(int fd, UNUSED(OFF_T pos),...