diff options
author | J. Bruce Fields | 2014-02-25 23:44:21 +0100 |
---|---|---|
committer | J. Bruce Fields | 2014-05-30 23:31:47 +0200 |
commit | 3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf (patch) | |
tree | 3b261560ccf50dd7efadc2f61a6762566cfdbf45 /fs/nfsd/nfs4xdr.c | |
parent | nfsd4: keep xdr buf length updated (diff) | |
download | kernel-qcow2-linux-3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf.tar.gz kernel-qcow2-linux-3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf.tar.xz kernel-qcow2-linux-3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf.zip |
rpc: xdr_truncate_encode
This will be used in the server side in a few cases:
- when certain operations (read, readdir, readlink) fail after
encoding a partial response.
- when we run out of space after encoding a partial response.
- in readlink, where we initially reserve PAGE_SIZE bytes for
data, then truncate to the actual size.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
0 files changed, 0 insertions, 0 deletions