mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
SUNRPC: Fixes for xdr_align_data()
The main use case right now for xdr_align_data() is to shift the page data to the left, and in practice shrink the total XDR data buffer. This patch ensures that we fix up the accounting for the buffer length as we shift that data around. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
c54e959b36
commit
9a20f6f4e6
2 changed files with 133 additions and 43 deletions
Loading…
Add table
Add a link
Reference in a new issue