Skip to content
Commit 1d973166 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix up xdr_read_pages() to take arbitrary object lengths



Fix up xdr_read_pages() so that it can handle object lengths that are
larger than the page length, by simply aligning to the next object in
the buffer tail.
The function will continue to return the length of the truncate object
data that actually fit into the pages.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 8d86e373
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment