From: J. Bruce Fields Date: Tue, 25 Feb 2014 22:44:21 +0000 (-0500) Subject: rpc: xdr_truncate_encode X-Git-Tag: omap-for-v3.16/fixes-against-rc1~67^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e19ce762b537dd9aeefdd0849ba5f2f01ff83cf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed