Commit d8434d4c authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: Fix missing operation accounting in NFS4_dec_delegreturn_sz

We need to account for the reply to the PUTFH operation in the
DELEGRETURN compound.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 69820d22
...@@ -710,6 +710,7 @@ static int nfs4_stat_to_errno(int); ...@@ -710,6 +710,7 @@ static int nfs4_stat_to_errno(int);
encode_getattr_maxsz) encode_getattr_maxsz)
#define NFS4_dec_delegreturn_sz (compound_decode_hdr_maxsz + \ #define NFS4_dec_delegreturn_sz (compound_decode_hdr_maxsz + \
decode_sequence_maxsz + \ decode_sequence_maxsz + \
decode_putfh_maxsz + \
decode_delegreturn_maxsz + \ decode_delegreturn_maxsz + \
decode_getattr_maxsz) decode_getattr_maxsz)
#define NFS4_enc_getacl_sz (compound_encode_hdr_maxsz + \ #define NFS4_enc_getacl_sz (compound_encode_hdr_maxsz + \
......
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