diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-01 17:22:09 +0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 21:46:34 +0400 |
commit | 28f566942c6b1d929f5e240e69e7081b77b238d3 (patch) | |
tree | 65b60263ac95d17de9a68f5245b52070d2bfb2e1 /fs/nfs/nfs4renewd.c | |
parent | dadf0c2767ce7772fc4ff82044f3ba5823e5b79f (diff) | |
download | linux-28f566942c6b1d929f5e240e69e7081b77b238d3.tar.xz |
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/nfs4renewd.c')
0 files changed, 0 insertions, 0 deletions