OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69820d2
)
NFSv4: Fix missing operation accounting in NFS4_dec_delegreturn_sz
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Wed, 16 Nov 2016 18:54:00 +0000
(13:54 -0500)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:45 +0000
(17:21 -0500)
We need to account for the reply to the PUTFH operation in the
DELEGRETURN compound.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4xdr.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4xdr.c
b/fs/nfs/nfs4xdr.c
index
86f72ae
..
0a82b3f
100644
(file)
--- a/
fs/nfs/nfs4xdr.c
+++ b/
fs/nfs/nfs4xdr.c
@@
-710,6
+710,7
@@
static int nfs4_stat_to_errno(int);
encode_getattr_maxsz)
#define NFS4_dec_delegreturn_sz (compound_decode_hdr_maxsz + \
decode_sequence_maxsz + \
+ decode_putfh_maxsz + \
decode_delegreturn_maxsz + \
decode_getattr_maxsz)
#define NFS4_enc_getacl_sz (compound_encode_hdr_maxsz + \