summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/stats.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-14 21:39:58 +0200
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-02-01 23:01:24 +0100
commitd2f7e79e3bad31b3d52c405085b9e01e5f6c01e0 (patch)
treea7247bf6849ecd2df43fcceca1f296c88af9866e /net/sunrpc/stats.c
parentNLM: tear down RPC clients in nlm_shutdown_hosts (diff)
downloadlinux-d2f7e79e3bad31b3d52c405085b9e01e5f6c01e0.tar.xz
linux-d2f7e79e3bad31b3d52c405085b9e01e5f6c01e0.zip
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/stats.c')
-rw-r--r--net/sunrpc/stats.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c
index 74df2d358e61..be0d1009e593 100644
--- a/net/sunrpc/stats.c
+++ b/net/sunrpc/stats.c
@@ -106,6 +106,7 @@ void svc_seq_show(struct seq_file *seq, const struct svc_stat *statp) {
seq_putc(seq, '\n');
}
}
+EXPORT_SYMBOL(svc_seq_show);
/**
* rpc_alloc_iostats - allocate an rpc_iostats structure
@@ -255,12 +256,14 @@ svc_proc_register(struct svc_stat *statp, const struct file_operations *fops)
{
return do_register(statp->program->pg_name, statp, fops);
}
+EXPORT_SYMBOL(svc_proc_register);
void
svc_proc_unregister(const char *name)
{
remove_proc_entry(name, proc_net_rpc);
}
+EXPORT_SYMBOL(svc_proc_unregister);
void
rpc_proc_init(void)