Commit 238a06e2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] knfsd: Export a symbol needed by auth_gss

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Without this compiling auth_gss as module fails.
parent 1a260c78
...@@ -145,6 +145,7 @@ extern void _copy_from_pages(char *, struct page **, size_t, size_t); ...@@ -145,6 +145,7 @@ extern void _copy_from_pages(char *, struct page **, size_t, size_t);
extern void xdr_buf_from_iov(struct iovec *, struct xdr_buf *); extern void xdr_buf_from_iov(struct iovec *, struct xdr_buf *);
extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, int, int); extern int xdr_buf_subsegment(struct xdr_buf *, struct xdr_buf *, int, int);
extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, int); extern int xdr_buf_read_netobj(struct xdr_buf *, struct xdr_netobj *, int);
extern int read_bytes_from_xdr_buf(struct xdr_buf *buf, int base, void *obj, int len);
/* /*
* Helper structure for copying from an sk_buff. * Helper structure for copying from an sk_buff.
......
...@@ -134,6 +134,7 @@ EXPORT_SYMBOL(xdr_read_pages); ...@@ -134,6 +134,7 @@ EXPORT_SYMBOL(xdr_read_pages);
EXPORT_SYMBOL(xdr_buf_from_iov); EXPORT_SYMBOL(xdr_buf_from_iov);
EXPORT_SYMBOL(xdr_buf_subsegment); EXPORT_SYMBOL(xdr_buf_subsegment);
EXPORT_SYMBOL(xdr_buf_read_netobj); EXPORT_SYMBOL(xdr_buf_read_netobj);
EXPORT_SYMBOL(read_bytes_from_xdr_buf);
/* Debugging symbols */ /* Debugging symbols */
#ifdef RPC_DEBUG #ifdef RPC_DEBUG
......
...@@ -799,7 +799,7 @@ xdr_buf_subsegment(struct xdr_buf *buf, struct xdr_buf *subbuf, ...@@ -799,7 +799,7 @@ xdr_buf_subsegment(struct xdr_buf *buf, struct xdr_buf *subbuf,
} }
/* obj is assumed to point to allocated memory of size at least len: */ /* obj is assumed to point to allocated memory of size at least len: */
static int int
read_bytes_from_xdr_buf(struct xdr_buf *buf, int base, void *obj, int len) read_bytes_from_xdr_buf(struct xdr_buf *buf, int base, void *obj, int len)
{ {
struct xdr_buf subbuf; struct xdr_buf subbuf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment