summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2009-04-01 09:22:09 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 10:46:34 -0700
commit28f566942c6b1d929f5e240e69e7081b77b238d3 (patch)
tree65b60263ac95d17de9a68f5245b52070d2bfb2e1 /fs/nfs/nfs4proc.c
parentdadf0c2767ce7772fc4ff82044f3ba5823e5b79f (diff)
downloadop-kernel-dev-28f566942c6b1d929f5e240e69e7081b77b238d3.zip
op-kernel-dev-28f566942c6b1d929f5e240e69e7081b77b238d3.tar.gz
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 <bhalevy@panasas.com> [nfs41: get fs_locations replen before encoding the GETATTR] Signed-off-by: Benny Halevy <bhalevy@panasas.com> [nfs41: get getacl replen before encoding the GETATTR] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud