Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] nfs: fix encode_fsinfo_maxsz
@ 2008-03-13 13:26 Benny Halevy
  2008-03-13 14:08 ` nfs over ipv6 support Rajesham Gajjela
  2008-03-13 16:21 ` [PATCH] nfs: fix encode_fsinfo_maxsz Trond Myklebust
  0 siblings, 2 replies; 6+ messages in thread
From: Benny Halevy @ 2008-03-13 13:26 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: linux-nfs, Fred Isaman, Benny Halevy

From: Fred Isaman <iisaman@citi.umich.edu>

The previous value was not taking into account space for bitmap array size.

Signed-off-by: Fred Isaman <iisaman@citi.umich.edu>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
---
 fs/nfs/nfs4xdr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 51dd380..0277821 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -110,7 +110,7 @@ static int nfs4_stat_to_errno(int);
 #define decode_savefh_maxsz     (op_decode_hdr_maxsz)
 #define encode_restorefh_maxsz  (op_encode_hdr_maxsz)
 #define decode_restorefh_maxsz  (op_decode_hdr_maxsz)
-#define encode_fsinfo_maxsz	(op_encode_hdr_maxsz + 2)
+#define encode_fsinfo_maxsz	(encode_getattr_maxsz)
 #define decode_fsinfo_maxsz	(op_decode_hdr_maxsz + 11)
 #define encode_renew_maxsz	(op_encode_hdr_maxsz + 3)
 #define decode_renew_maxsz	(op_decode_hdr_maxsz)
-- 
1.5.3.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-13 16:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 13:26 [PATCH] nfs: fix encode_fsinfo_maxsz Benny Halevy
2008-03-13 14:08 ` nfs over ipv6 support Rajesham Gajjela
2008-03-13 16:21 ` [PATCH] nfs: fix encode_fsinfo_maxsz Trond Myklebust
     [not found]   ` <1205425264.11399.3.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2008-03-13 16:27     ` Benny Halevy
2008-03-13 16:29     ` Fredric Isaman
2008-03-13 16:55       ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox