SUNRPC: Fix up xdr_set_page()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 22 Nov 2020 02:21:11 +0000 (21:21 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:54 +0000 (14:05 -0500)
commit0279024f22705128c7139bd55af6981afe90e876
treea5d6964627c097a6dee11d294ed77100278e9c8e
parent9ed5af268e88f6e5b65376be98d652b37cb20d7b
SUNRPC: Fix up xdr_set_page()

While we always want to align to the next page and/or the beginning of
the tail buffer when we call xdr_set_next_page(), the functions
xdr_align_data() and xdr_expand_hole() really want to align to the next
object in that next page or tail.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xdr.c