summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/syscall.c')
-rw-r--r--libglusterfs/src/syscall.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libglusterfs/src/syscall.c b/libglusterfs/src/syscall.c
index 3a3d5318baa..bdbbbf2fc0e 100644
--- a/libglusterfs/src/syscall.c
+++ b/libglusterfs/src/syscall.c
@@ -283,6 +283,13 @@ sys_utimensat (int dirfd, const char *filename, const struct timespec times[2],
int
+sys_futimes (int fd, const struct timeval times[2])
+{
+ return futimes (fd, times);
+}
+
+
+int
sys_creat (const char *pathname, mode_t mode)
{
return sys_open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode);