aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTom Tucker <tom@opengridcomputing.com>2007-12-30 22:08:01 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-02-01 16:42:12 -0500
commita6046f71f2b598af241e7496a8ead90f2979224b (patch)
treebceb453e9c7aac478a86253528ff2a00b0726fcc /include/linux/sunrpc
parenta50fea26b9d2aa7b66fdd6d9579de10827ec086a (diff)
svc: Change svc_sock_received to svc_xprt_received and export it
All fields touched by svc_sock_received are now transport independent. Change it to use svc_xprt directly. This function is called from transport dependent code, so export it. Update the comment to clearly state the rules for calling this function. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Acked-by: Neil Brown <neilb@suse.de> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Greg Banks <gnb@sgi.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/svc_xprt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 1b8c596b1177..936e0dc52fcc 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -62,8 +62,8 @@ void svc_unreg_xprt_class(struct svc_xprt_class *);
62void svc_xprt_init(struct svc_xprt_class *, struct svc_xprt *, 62void svc_xprt_init(struct svc_xprt_class *, struct svc_xprt *,
63 struct svc_serv *); 63 struct svc_serv *);
64int svc_create_xprt(struct svc_serv *, char *, unsigned short, int); 64int svc_create_xprt(struct svc_serv *, char *, unsigned short, int);
65void svc_xprt_received(struct svc_xprt *);
65void svc_xprt_put(struct svc_xprt *xprt); 66void svc_xprt_put(struct svc_xprt *xprt);
66
67static inline void svc_xprt_get(struct svc_xprt *xprt) 67static inline void svc_xprt_get(struct svc_xprt *xprt)
68{ 68{
69 kref_get(&xprt->xpt_ref); 69 kref_get(&xprt->xpt_ref);