diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-02-25 23:21:08 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-03-29 02:24:49 +0100 |
commit | de4aee2e0a376fb272f44139150115a6dec1da95 (patch) | |
tree | 6eb394e6792d24331afde16e4704ce558b1882e1 /net/packet | |
parent | NFSD: Using free_conn free connection (diff) | |
download | linux-de4aee2e0a376fb272f44139150115a6dec1da95.tar.xz linux-de4aee2e0a376fb272f44139150115a6dec1da95.zip |
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 <bfields@redhat.com>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions