diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-03-22 01:57:57 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-31 01:31:55 +0400 |
commit | f5236013a21c118e9d317e90c7a152dfe51fab93 (patch) | |
tree | f2fcabe7395531380db28365ac2df0f92480fbcd /fs/nfsd/xdr4.h | |
parent | 2825a7f90753012babe7ee292f4a1eadd3706f92 (diff) | |
download | linux-f5236013a21c118e9d317e90c7a152dfe51fab93.tar.xz |
nfsd4: convert 4.1 replay encoding
Limits on maxresp_sz mean that we only ever need to replay rpc's that
are contained entirely in the head.
The one exception is very small zero-copy reads. That's an odd corner
case as clients wouldn't normally ask those to be cached.
in any case, this seems a little more robust.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index ea5ad5db655b..ee9ffdc8a0cb 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -58,7 +58,7 @@ struct nfsd4_compound_state { /* For sessions DRC */ struct nfsd4_session *session; struct nfsd4_slot *slot; - __be32 *datap; + int data_offset; size_t iovlen; u32 minorversion; __be32 status; |