diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-23 16:30:12 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-07 17:18:42 -0500 |
commit | 24c3767e41a6a59d32bb45abe899eb194e6bf1b8 (patch) | |
tree | bf44f3f90e51b8cbbae89e9740cce9d56e8eb515 /net/sunrpc/svc_xprt.c | |
parent | 22945e4a1c7454c97f5d8aee1ef526c83fef3223 (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.c | 8 |
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 | } |
443 | EXPORT_SYMBOL(svc_reserve); | 443 | EXPORT_SYMBOL_GPL(svc_reserve); |
444 | 444 | ||
445 | static void svc_xprt_release(struct svc_rqst *rqstp) | 445 | static 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 | } |
504 | EXPORT_SYMBOL(svc_wake_up); | 504 | EXPORT_SYMBOL_GPL(svc_wake_up); |
505 | 505 | ||
506 | int svc_port_is_privileged(struct sockaddr *sin) | 506 | int 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 | } |
746 | EXPORT_SYMBOL(svc_recv); | 746 | EXPORT_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 | } |
756 | EXPORT_SYMBOL(svc_drop); | 756 | EXPORT_SYMBOL_GPL(svc_drop); |
757 | 757 | ||
758 | /* | 758 | /* |
759 | * Return reply to client. | 759 | * Return reply to client. |