summaryrefslogtreecommitdiff
path: root/libdiskfs/file-utimes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-utimes.c')
-rw-r--r--libdiskfs/file-utimes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-utimes.c b/libdiskfs/file-utimes.c
index a79d91bd..6f4f53c5 100644
--- a/libdiskfs/file-utimes.c
+++ b/libdiskfs/file-utimes.c
@@ -26,7 +26,7 @@ diskfs_S_file_utimes (struct protid *cred,
{
CHANGE_NODE_FIELD (cred,
({
- if (!(err = diskfs_isowner (np, cred)))
+ if (!(err = fshelp_isowner (&np->dn_stat, cred->user)))
{
np->dn_stat.st_atime = atime.seconds;
np->dn_stat.st_mtime = mtime.seconds;