Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217209
b: refs/heads/master
c: 8ff30fa
h: refs/heads/master
i:
  217207: decec04
v: v3
  • Loading branch information
NeilBrown authored and J. Bruce Fields committed Sep 21, 2010
1 parent 7062ff8 commit 7fad070
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ebede86b8abbcf8833830e18e05391758cf2f28
refs/heads/master: 8ff30fa4eff2ff9e207961c654caa093f0c84873
7 changes: 5 additions & 2 deletions trunk/fs/nfsd/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,8 +1031,11 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
resp->cstate.session = NULL;
fh_init(&resp->cstate.current_fh, NFS4_FHSIZE);
fh_init(&resp->cstate.save_fh, NFS4_FHSIZE);
/* Use the deferral mechanism only for NFSv4.0 compounds */
rqstp->rq_usedeferral = (args->minorversion == 0);
/*
* Don't use the deferral mechanism for NFSv4; compounds make it
* too hard to avoid non-idempotency problems.
*/
rqstp->rq_usedeferral = 0;

/*
* According to RFC3010, this takes precedence over all other errors.
Expand Down

0 comments on commit 7fad070

Please sign in to comment.