]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14fb034c788593adbc8c7eeb3de456c0734c834d
tree1a9d15edad19994c3f226ec4a5a2311e6e658566
parentc02a1cd5ee1c37ba7c76f039f606fb32be81a0d0
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