From: Benny Halevy Date: Wed, 1 Apr 2009 13:22:09 +0000 (-0400) Subject: NFS: use dynamically computed compound_hdr.replen for xdr_inline_pages offset X-Git-Tag: v2.6.31-rc1~58^2~3^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f566942c6b1d929f5e240e69e7081b77b238d3;p=pandora-kernel.git NFS: use dynamically computed compound_hdr.replen for xdr_inline_pages offset As Trond suggested, rather than passing a constant to xdr_inline_pages, keep a running count of the expected reply bytes. In preparation for nfs41, where additional op sequence are expteced when talking to nfs41 servers. [NFS: cb_compoundhdr.replen is in words not bytes] Signed-off-by: Benny Halevy [nfs41: get fs_locations replen before encoding the GETATTR] Signed-off-by: Benny Halevy [nfs41: get getacl replen before encoding the GETATTR] Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed