From 601b6547f2c53651b88a0560a41d702db06c0d1c Mon Sep 17 00:00:00 2001 From: karthik-us Date: Mon, 27 Jun 2016 17:17:56 +0530 Subject: storage/posix: Adding implementation for posix_do_futimes Adding the implementation for the posix_do_futimes function which is not complete in the current implementation and giving the ENOSYS error. Change-Id: I9cfc95a7ea293b0a2df8efd4ac80d0120b3120e4 BUG: 1350406 Signed-off-by: karthik-us --- libglusterfs/src/syscall.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libglusterfs/src/syscall.c') 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 @@ -282,6 +282,13 @@ sys_utimensat (int dirfd, const char *filename, const struct timespec times[2], #endif +int +sys_futimes (int fd, const struct timeval times[2]) +{ + return futimes (fd, times); +} + + int sys_creat (const char *pathname, mode_t mode) { -- cgit