• J
    rpc: xdr_truncate_encode · 3e19ce76
    J. Bruce Fields 提交于
    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: NJ. Bruce Fields <bfields@redhat.com>
    3e19ce76
xdr.c 34.7 KB