diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-11-21 00:31:03 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-12-02 22:05:53 +0300 |
commit | 1d97316692f708de755655ac1cfd704d7a55843f (patch) | |
tree | 4e29813d4699cc54b08569f9451706261c0a0799 /net/sunrpc/clnt.c | |
parent | 8d86e373b0ef52d091ced9583ffbb33ad2771576 (diff) | |
download | linux-1d97316692f708de755655ac1cfd704d7a55843f.tar.xz |
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
0 files changed, 0 insertions, 0 deletions