diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-11-16 13:54:00 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:21:45 -0500 |
commit | d8434d4c54789bd8ac30b4a69037115b3594d2b3 (patch) | |
tree | 0af4bd9d781e1b46874584ba42145ace8d8103e1 /fs/nfs/nfs4xdr.c | |
parent | 69820d22c559c46f94e9ae08677581365c3748d5 (diff) | |
download | linux-exynos-d8434d4c54789bd8ac30b4a69037115b3594d2b3.tar.gz linux-exynos-d8434d4c54789bd8ac30b4a69037115b3594d2b3.tar.bz2 linux-exynos-d8434d4c54789bd8ac30b4a69037115b3594d2b3.zip |
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: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r-- | fs/nfs/nfs4xdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 86f72ae605c8..0a82b3fb2d27 100644 --- 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 + \ |