summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:21 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:21 -0400
commit8b23ea7bedb8b45a5bb56745fa3ff11018acf04e (patch)
treeb312b3d0d9e27704792fd7dfcd9bc041b1122bef /include/linux/sunrpc/xdr.h
parent51d8fa6a109589d522c18a8e9bf3fb167a91b1bc (diff)
downloadop-kernel-dev-8b23ea7bedb8b45a5bb56745fa3ff11018acf04e.zip
op-kernel-dev-8b23ea7bedb8b45a5bb56745fa3ff11018acf04e.tar.gz
RPC: Allow struc xdr_stream to read the page section of an xdr_buf
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/xdr.h')
-rw-r--r--include/linux/sunrpc/xdr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h
index 84c35d4..e6d3d34 100644
--- a/include/linux/sunrpc/xdr.h
+++ b/include/linux/sunrpc/xdr.h
@@ -194,6 +194,7 @@ extern void xdr_write_pages(struct xdr_stream *xdr, struct page **pages,
extern void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, uint32_t *p);
extern uint32_t *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes);
extern void xdr_read_pages(struct xdr_stream *xdr, unsigned int len);
+extern void xdr_enter_page(struct xdr_stream *xdr, unsigned int len);
#endif /* __KERNEL__ */
OpenPOWER on IntegriCloud