summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust2007-07-14 21:39:59 +0200
committerTrond Myklebust2008-01-30 08:05:28 +0100
commite8914c65f7f8d4e8701b8e78a12b714872ea0402 (patch)
tree54e0834fce6e8b834ad400e010e76215e7eb76e4 /net/sunrpc/xprt.c
parentSUNRPC: Move exported declarations to the function declarations (diff)
downloadkernel-qcow2-linux-e8914c65f7f8d4e8701b8e78a12b714872ea0402.tar.gz
kernel-qcow2-linux-e8914c65f7f8d4e8701b8e78a12b714872ea0402.tar.xz
kernel-qcow2-linux-e8914c65f7f8d4e8701b8e78a12b714872ea0402.zip
SUNRPC: Restrict sunrpc client exports
The sunrpc client exports are not meant to be part of any official kernel API: they can change at the drop of a hat. Mark them as internal functions using EXPORT_SYMBOL_GPL. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 1fd47f918bb9..7520c6623c46 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -992,7 +992,7 @@ void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long i
to->to_retries = retr;
to->to_exponential = 0;
}
-EXPORT_SYMBOL(xprt_set_timeout);
+EXPORT_SYMBOL_GPL(xprt_set_timeout);
/**
* xprt_create_transport - create an RPC transport