SUNRPC: Implement a xdr_page_pos() function
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Apr 2020 15:00:24 +0000 (11:00 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 7 Oct 2020 18:28:39 +0000 (14:28 -0400)
commitcf1f08cac375630af6b6307907a3fc20fcf847c7
tree0158e4b775cbd92951c89de52f027e1503ec742f
parentf7d61ee414cadaeb05af3bf7a64fb99760b9c6e7
SUNRPC: Implement a xdr_page_pos() function

I'll need this for READ_PLUS to help figure out the offset where page
data is stored at, but it might also be useful for other things.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c