projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
622f560
)
nfsd4: fix write reply size estimate
author
J. Bruce Fields
<bfields@redhat.com>
Sat, 17 May 2014 01:24:56 +0000
(21:24 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 23 May 2014 13:03:43 +0000
(09:03 -0400)
The write reply also includes count and stable_how.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4proc.c
b/fs/nfsd/nfs4proc.c
index 77c43697cd4fa15f9ce7669e9da2e4d51608984f..9d60a1c08105ca07afe29abfb2e0ec8ec877366e 100644
(file)
--- a/
fs/nfsd/nfs4proc.c
+++ b/
fs/nfsd/nfs4proc.c
@@
-1528,7
+1528,7
@@
static inline u32 nfsd4_setclientid_rsize(struct svc_rqst *rqstp, struct nfsd4_o
static inline u32 nfsd4_write_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op)
{
- return (op_encode_hdr_size + op_encode_verifier_maxsz) * sizeof(__be32);
+ return (op_encode_hdr_size +
2 +
op_encode_verifier_maxsz) * sizeof(__be32);
}
static inline u32 nfsd4_exchange_id_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op)