[pnfs] [PATCH] Fixed client's NFS40_enc_getattr_sz calculation.
Mike Sager
sager at netapp.com
Thu Nov 8 14:48:38 EST 2007
From: root <root at sager1.hq.netapp.com>
The calculation was omitting encode_putfh_maxsz.
Signed-off-by: Mike Sager <sager at netapp.com>
---
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 f959156..404334b 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -422,6 +422,7 @@ static int nr_sequence_quads = 0;
decode_putfh_maxsz + \
decode_access_maxsz)
#define NFS40_enc_getattr_sz (compound_encode_hdr_maxsz + \
+ encode_putfh_maxsz + \
encode_getattr_maxsz)
#define NFS40_dec_getattr_sz (compound_decode_hdr_maxsz + \
decode_putfh_maxsz + \
--
1.5.0.5
More information about the pNFS
mailing list