Commit afb8aae5 authored by KaiLong Wang's avatar KaiLong Wang Committed by Chuck Lever

nfsd: Clean up errors in nfs3proc.c

Fix the following errors reported by checkpatch:

ERROR: need consistent spacing around '+' (ctx:WxV)
ERROR: spaces required around that '?' (ctx:VxW)
Signed-off-by: default avatarKaiLong Wang <wangkailong@jari.cn>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 03a0497f
...@@ -171,7 +171,8 @@ nfsd3_proc_read(struct svc_rqst *rqstp) ...@@ -171,7 +171,8 @@ nfsd3_proc_read(struct svc_rqst *rqstp)
* + 1 (xdr opaque byte count) = 26 * + 1 (xdr opaque byte count) = 26
*/ */
resp->count = argp->count; resp->count = argp->count;
svc_reserve_auth(rqstp, ((1 + NFS3_POST_OP_ATTR_WORDS + 3)<<2) + resp->count +4); svc_reserve_auth(rqstp, ((1 + NFS3_POST_OP_ATTR_WORDS + 3) << 2) +
resp->count + 4);
fh_copy(&resp->fh, &argp->fh); fh_copy(&resp->fh, &argp->fh);
resp->status = nfsd_read(rqstp, &resp->fh, argp->offset, resp->status = nfsd_read(rqstp, &resp->fh, argp->offset,
...@@ -194,7 +195,7 @@ nfsd3_proc_write(struct svc_rqst *rqstp) ...@@ -194,7 +195,7 @@ nfsd3_proc_write(struct svc_rqst *rqstp)
SVCFH_fmt(&argp->fh), SVCFH_fmt(&argp->fh),
argp->len, argp->len,
(unsigned long long) argp->offset, (unsigned long long) argp->offset,
argp->stable? " stable" : ""); argp->stable ? " stable" : "");
resp->status = nfserr_fbig; resp->status = nfserr_fbig;
if (argp->offset > (u64)OFFSET_MAX || if (argp->offset > (u64)OFFSET_MAX ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment