Skip to content
Commit 3e19ce76 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 6ac90391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment