diff options
Diffstat (limited to 'libglusterfs/src')
| -rw-r--r-- | libglusterfs/src/syscall.c | 7 | ||||
| -rw-r--r-- | libglusterfs/src/syscall.h | 3 | 
2 files changed, 10 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); diff --git a/libglusterfs/src/syscall.h b/libglusterfs/src/syscall.h index 0cb61b66d36..032ff70ffb6 100644 --- a/libglusterfs/src/syscall.h +++ b/libglusterfs/src/syscall.h @@ -137,6 +137,9 @@ sys_utimensat (int dirfd, const char *filename, const struct timespec times[2],  #endif  int +sys_futimes (int fd, const struct timeval times[2]); + +int  sys_creat (const char *pathname, mode_t mode);  ssize_t  | 
