git.samba.org
/
tprouty
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This is a *big* checkin that may break some things, but implements the
[tprouty/samba.git]
/
source
/
smbd
/
vfs-wrap.c
diff --git
a/source/smbd/vfs-wrap.c
b/source/smbd/vfs-wrap.c
index b9c22ef1f9843db364eccfc1bb1f505bd3bc5682..a3dd7520236aadc2c7d09ace17a41ce73e3e8678 100644
(file)
--- a/
source/smbd/vfs-wrap.c
+++ b/
source/smbd/vfs-wrap.c
@@
-297,3
+297,11
@@
int vfswrap_utime(char *path, struct utimbuf *times)
result = utime(path, times);
return result;
}
+
+int vfswrap_ftruncate(int fd, SMB_OFF_T offset)
+{
+ int result;
+
+ result = sys_ftruncate(fd, offset);
+ return result;
+}