aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/file-check-access.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/file-check-access.c')
-rw-r--r--libnetfs/file-check-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/file-check-access.c b/libnetfs/file-check-access.c
index 237f6794..25a5963c 100644
--- a/libnetfs/file-check-access.c
+++ b/libnetfs/file-check-access.c
@@ -31,7 +31,7 @@ netfs_S_file_check_access (struct protid *user,
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- netfs_report_access (user->credential, user->po->np, types);
+ err = netfs_report_access (user->credential, user->po->np, types);
mutex_unlock (&user->po->np->lock);
return err;
}