From: J. Bruce Fields Date: Tue, 25 Feb 2014 22:21:08 +0000 (-0500) Subject: rpc: Allow xdr_buf_subsegment to operate in-place X-Git-Tag: v3.15-rc1~45^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4aee2e0a376fb272f44139150115a6dec1da95;p=pandora-kernel.git rpc: Allow xdr_buf_subsegment to operate in-place Allow xdr_buf_subsegment(&buf, &buf, base, len) to modify an xdr_buf in-place. Also, none of the callers need the iov_base of head or tail to be zeroed out. Also add documentation. (As it turns out, I'm not really using this new guarantee, but it seems a simple way to make this function a bit more robust.) Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed