Commit 0d961aa9 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL

Ensure that the backchannel exports conform to the existing sunrpc
practice.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 9e00abc3
...@@ -172,7 +172,7 @@ int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs) ...@@ -172,7 +172,7 @@ int xprt_setup_backchannel(struct rpc_xprt *xprt, unsigned int min_reqs)
dprintk("RPC: setup backchannel transport failed\n"); dprintk("RPC: setup backchannel transport failed\n");
return -1; return -1;
} }
EXPORT_SYMBOL(xprt_setup_backchannel); EXPORT_SYMBOL_GPL(xprt_setup_backchannel);
/* /*
* Destroys the backchannel preallocated structures. * Destroys the backchannel preallocated structures.
...@@ -202,7 +202,7 @@ void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs) ...@@ -202,7 +202,7 @@ void xprt_destroy_backchannel(struct rpc_xprt *xprt, unsigned int max_reqs)
dprintk("RPC: backchannel list empty= %s\n", dprintk("RPC: backchannel list empty= %s\n",
list_empty(&xprt->bc_pa_list) ? "true" : "false"); list_empty(&xprt->bc_pa_list) ? "true" : "false");
} }
EXPORT_SYMBOL(xprt_destroy_backchannel); EXPORT_SYMBOL_GPL(xprt_destroy_backchannel);
/* /*
* One or more rpc_rqst structure have been preallocated during the * One or more rpc_rqst structure have been preallocated during the
......
...@@ -1300,7 +1300,7 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req, ...@@ -1300,7 +1300,7 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
return 0; return 0;
} }
} }
EXPORT_SYMBOL(bc_svc_process); EXPORT_SYMBOL_GPL(bc_svc_process);
#endif /* CONFIG_SUNRPC_BACKCHANNEL */ #endif /* CONFIG_SUNRPC_BACKCHANNEL */
/* /*
......
...@@ -126,7 +126,7 @@ xdr_terminate_string(struct xdr_buf *buf, const u32 len) ...@@ -126,7 +126,7 @@ xdr_terminate_string(struct xdr_buf *buf, const u32 len)
kaddr[buf->page_base + len] = '\0'; kaddr[buf->page_base + len] = '\0';
kunmap_atomic(kaddr, KM_USER0); kunmap_atomic(kaddr, KM_USER0);
} }
EXPORT_SYMBOL(xdr_terminate_string); EXPORT_SYMBOL_GPL(xdr_terminate_string);
void void
xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base, xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,
......
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