summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust2006-06-09 15:34:21 +0200
committerTrond Myklebust2006-06-09 15:34:21 +0200
commit8b23ea7bedb8b45a5bb56745fa3ff11018acf04e (patch)
treeb312b3d0d9e27704792fd7dfcd9bc041b1122bef /include
parentNFS: Add timeout to submounts (diff)
downloadkernel-qcow2-linux-8b23ea7bedb8b45a5bb56745fa3ff11018acf04e.tar.gz
kernel-qcow2-linux-8b23ea7bedb8b45a5bb56745fa3ff11018acf04e.tar.xz
kernel-qcow2-linux-8b23ea7bedb8b45a5bb56745fa3ff11018acf04e.zip
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')
-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 84c35d42d250..e6d3d349506c 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__ */