diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index baa3803f0811..be6734060d2a 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -1298,7 +1298,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp, | |||
1298 | * Don't use the deferral mechanism for NFSv4; compounds make it | 1298 | * Don't use the deferral mechanism for NFSv4; compounds make it |
1299 | * too hard to avoid non-idempotency problems. | 1299 | * too hard to avoid non-idempotency problems. |
1300 | */ | 1300 | */ |
1301 | rqstp->rq_usedeferral = 0; | 1301 | rqstp->rq_usedeferral = false; |
1302 | 1302 | ||
1303 | /* | 1303 | /* |
1304 | * According to RFC3010, this takes precedence over all other errors. | 1304 | * According to RFC3010, this takes precedence over all other errors. |
@@ -1417,7 +1417,7 @@ encode_op: | |||
1417 | BUG_ON(cstate->replay_owner); | 1417 | BUG_ON(cstate->replay_owner); |
1418 | out: | 1418 | out: |
1419 | /* Reset deferral mechanism for RPC deferrals */ | 1419 | /* Reset deferral mechanism for RPC deferrals */ |
1420 | rqstp->rq_usedeferral = 1; | 1420 | rqstp->rq_usedeferral = true; |
1421 | dprintk("nfsv4 compound returned %d\n", ntohl(status)); | 1421 | dprintk("nfsv4 compound returned %d\n", ntohl(status)); |
1422 | return status; | 1422 | return status; |
1423 | } | 1423 | } |