summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/file-utimes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libnetfs/file-utimes.c b/libnetfs/file-utimes.c
index 2924aefe..a3e79946 100644
--- a/libnetfs/file-utimes.c
+++ b/libnetfs/file-utimes.c
@@ -38,8 +38,7 @@ netfs_S_file_utimes (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- err = netfs_attempt_chown (user->credential, user->po->np,
- uid, gid);
+ err = netfs_attempt_utimes (user->credential, user->po->np, &atime, &mtime);
mutex_unlock (&user->po->np->lock);
return err;
}