diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-06-10 18:29:39 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-06-23 11:31:36 -0400 |
commit | f15a5cf912f05b572d1f9f3772fba019643f4837 (patch) | |
tree | 8966ba5de4a008727730d62aaf8c107c1da98f32 /net/sunrpc/svc.c | |
parent | 3c7aa15d2073d81e56e8ba8771a4ab6f23be7ae2 (diff) | |
download | linux-f15a5cf912f05b572d1f9f3772fba019643f4837.tar.gz linux-f15a5cf912f05b572d1f9f3772fba019643f4837.tar.bz2 linux-f15a5cf912f05b572d1f9f3772fba019643f4837.zip |
SUNRPC/NFSD: Change to type of bool for rq_usedeferral and rq_splice_ok
rq_usedeferral and rq_splice_ok are used as 0 and 1, just defined to bool.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 5de6801cd924..1db5007ddbce 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1086,9 +1086,9 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) goto err_short_len; /* Will be turned off only in gss privacy case: */ - rqstp->rq_splice_ok = 1; + rqstp->rq_splice_ok = true; /* Will be turned off only when NFSv4 Sessions are used */ - rqstp->rq_usedeferral = 1; + rqstp->rq_usedeferral = true; rqstp->rq_dropme = false; /* Setup reply header */ |