diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-29 22:17:07 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-29 22:17:07 +0000 |
commit | c43ee99d46966b7ba6e2b5a63ba3dc9d02a4e2af (patch) | |
tree | c3b53a8e8abd18aaaf221e16b8731fdb2b3d007c /nfs | |
parent | ce2be747b563cf9404650dc1e61dc9987d6a0ecb (diff) |
(netfs_report_access): Make sure netfs_attempt_read return a
reasonable LEN.
Diffstat (limited to 'nfs')
-rw-r--r-- | nfs/ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -969,6 +969,8 @@ netfs_report_access (struct netcred *cred, *types = O_READ | O_EXEC; + assert (len == 1 || len == 0); + if (len == 1) { err = netfs_attempt_write (cred, np, 0, &len, &byte); |