summaryrefslogtreecommitdiff
path: root/libnetfs/file-sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-sync.c')
-rw-r--r--libnetfs/file-sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/file-sync.c b/libnetfs/file-sync.c
index 95bc0529..99492ed8 100644
--- a/libnetfs/file-sync.c
+++ b/libnetfs/file-sync.c
@@ -32,7 +32,7 @@ netfs_S_file_sync (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- err = netfs_attempt_sync (user->credential, user->po->np, wait);
+ err = netfs_attempt_sync (user->user, user->po->np, wait);
mutex_unlock (&user->po->np->lock);
return err;
}