aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 16:30:12 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-07 17:18:42 -0500
commit24c3767e41a6a59d32bb45abe899eb194e6bf1b8 (patch)
treebf44f3f90e51b8cbbae89e9740cce9d56e8eb515 /net/sunrpc/svc_xprt.c
parent22945e4a1c7454c97f5d8aee1ef526c83fef3223 (diff)
SUNRPC: The sunrpc server code should not be used by out-of-tree modules
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index a78b87937c73..e588df5d6b34 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -440,7 +440,7 @@ void svc_reserve(struct svc_rqst *rqstp, int space)
440 svc_xprt_enqueue(xprt); 440 svc_xprt_enqueue(xprt);
441 } 441 }
442} 442}
443EXPORT_SYMBOL(svc_reserve); 443EXPORT_SYMBOL_GPL(svc_reserve);
444 444
445static void svc_xprt_release(struct svc_rqst *rqstp) 445static void svc_xprt_release(struct svc_rqst *rqstp)
446{ 446{
@@ -501,7 +501,7 @@ void svc_wake_up(struct svc_serv *serv)
501 spin_unlock_bh(&pool->sp_lock); 501 spin_unlock_bh(&pool->sp_lock);
502 } 502 }
503} 503}
504EXPORT_SYMBOL(svc_wake_up); 504EXPORT_SYMBOL_GPL(svc_wake_up);
505 505
506int svc_port_is_privileged(struct sockaddr *sin) 506int svc_port_is_privileged(struct sockaddr *sin)
507{ 507{
@@ -743,7 +743,7 @@ int svc_recv(struct svc_rqst *rqstp, long timeout)
743 serv->sv_stats->netcnt++; 743 serv->sv_stats->netcnt++;
744 return len; 744 return len;
745} 745}
746EXPORT_SYMBOL(svc_recv); 746EXPORT_SYMBOL_GPL(svc_recv);
747 747
748/* 748/*
749 * Drop request 749 * Drop request
@@ -753,7 +753,7 @@ void svc_drop(struct svc_rqst *rqstp)
753 dprintk("svc: xprt %p dropped request\n", rqstp->rq_xprt); 753 dprintk("svc: xprt %p dropped request\n", rqstp->rq_xprt);
754 svc_xprt_release(rqstp); 754 svc_xprt_release(rqstp);
755} 755}
756EXPORT_SYMBOL(svc_drop); 756EXPORT_SYMBOL_GPL(svc_drop);
757 757
758/* 758/*
759 * Return reply to client. 759 * Return reply to client.