diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-04-16 20:08:27 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-04-16 20:08:27 +0000 |
commit | 90458110d922016645babe00b8f558bd36362380 (patch) | |
tree | 55c37bff83686d57d7be98367a564432fc27d38b /nfs/ops.c | |
parent | 88179a43127e2ea3229fff9bdbf08b8932906b1a (diff) |
Fix compilation error.
Diffstat (limited to 'nfs/ops.c')
-rw-r--r-- | nfs/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ netfs_attempt_set_size (struct iouser *cred, struct node *np, writing. RCS, for example, uses this to create lock files. So permit cases where the O_TRUNC isn't doing anything to succeed if the user does have the file open for writing. */ - if (err == EACCES && (cred->po->openstat & O_WRITE)) + if (err == EACCES) { err = netfs_validate_stat (np, cred); if (!err && np->nn_stat.st_size == size) |