Message ID | 20220713190825.615678-6-anna@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | NFSD: Improvements for the NFSv4.2 READ_PLUS operation | expand |
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index 88b28656a05d..ea734b14af0f 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -139,6 +139,7 @@ size_t xdr_buf_pagecount(const struct xdr_buf *buf) return 0; return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; } +EXPORT_SYMBOL_GPL(xdr_buf_pagecount); char *xdr_buf_nth_page_address(const struct xdr_buf *buf, unsigned int n, unsigned int *len)