summaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfs/ops.c b/nfs/ops.c
index 417cc4af..a92a3bf0 100644
--- a/nfs/ops.c
+++ b/nfs/ops.c
@@ -959,7 +959,7 @@ netfs_report_access (struct netcred *cred,
here we err on the side of denying access, and that we always
have to check everything. */
-
+ len = 1;
err = netfs_attempt_read (cred, np, 0, &len, &byte);
if (err)
{