SUNRPC: When expanding the buffer, we may need grow the sparse pages
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 10 Dec 2020 13:55:35 +0000 (08:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:07 +0000 (06:51 -0500)
commit5802f7c2a6b876b2810e3e9f26d719961f12e251
tree1a9d15edad19994c3f226ec4a5a2311e6e658566
parentf8d0e60f1056687826abc1eded98f0ea067dfc4c
SUNRPC: When expanding the buffer, we may need grow the sparse pages

If we're shifting the page data to the right, and this happens to be a
sparse page array, then we may need to allocate new pages in order to
receive the data.

Reported-by: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xdr.c