commit | 3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Tue Feb 25 17:44:21 2014 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri May 30 17:31:47 2014 -0400 |
tree | 3b261560ccf50dd7efadc2f61a6762566cfdbf45 | |
parent | 6ac90391c6e36c536cfcedbe4801a77e304205b1 [diff] |
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>