aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-14 15:39:58 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-02-01 17:01:24 -0500
commitd2f7e79e3bad31b3d52c405085b9e01e5f6c01e0 (patch)
treea7247bf6849ecd2df43fcceca1f296c88af9866e /net/sunrpc/svc_xprt.c
parentd801b861681116ea23a7fb87a70bf463d29c8b9c (diff)
SUNRPC: Move exported symbol definitions after function declaration part 2
Do it for the server code... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r--net/sunrpc/svc_xprt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index c3fb36784f3b..ea377e06afae 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -435,6 +435,7 @@ void svc_reserve(struct svc_rqst *rqstp, int space)
435 svc_xprt_enqueue(xprt); 435 svc_xprt_enqueue(xprt);
436 } 436 }
437} 437}
438EXPORT_SYMBOL(svc_reserve);
438 439
439static void svc_xprt_release(struct svc_rqst *rqstp) 440static void svc_xprt_release(struct svc_rqst *rqstp)
440{ 441{
@@ -492,6 +493,7 @@ void svc_wake_up(struct svc_serv *serv)
492 spin_unlock_bh(&pool->sp_lock); 493 spin_unlock_bh(&pool->sp_lock);
493 } 494 }
494} 495}
496EXPORT_SYMBOL(svc_wake_up);
495 497
496int svc_port_is_privileged(struct sockaddr *sin) 498int svc_port_is_privileged(struct sockaddr *sin)
497{ 499{
@@ -702,6 +704,7 @@ int svc_recv(struct svc_rqst *rqstp, long timeout)
702 serv->sv_stats->netcnt++; 704 serv->sv_stats->netcnt++;
703 return len; 705 return len;
704} 706}
707EXPORT_SYMBOL(svc_recv);
705 708
706/* 709/*
707 * Drop request 710 * Drop request
@@ -711,6 +714,7 @@ void svc_drop(struct svc_rqst *rqstp)
711 dprintk("svc: xprt %p dropped request\n", rqstp->rq_xprt); 714 dprintk("svc: xprt %p dropped request\n", rqstp->rq_xprt);
712 svc_xprt_release(rqstp); 715 svc_xprt_release(rqstp);
713} 716}
717EXPORT_SYMBOL(svc_drop);
714 718
715/* 719/*
716 * Return reply to client. 720 * Return reply to client.