summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/stats.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-04-18 19:21:50 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-04-19 18:43:47 +0200
commitec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 (patch)
treee7a6b3c77051057e963c276b4f9f66d8a0d2c51a /net/sunrpc/stats.c
parentNFS,SUNRPC: Fix compiler warnings if CONFIG_PROC_FS & CONFIG_SYSCTL are unset (diff)
downloadlinux-ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5.tar.xz
linux-ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5.zip
NFS: make 2 functions static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/stats.c')
-rw-r--r--net/sunrpc/stats.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/stats.c b/net/sunrpc/stats.c
index dea529666d69..15c2db26767b 100644
--- a/net/sunrpc/stats.c
+++ b/net/sunrpc/stats.c
@@ -176,7 +176,8 @@ void rpc_count_iostats(struct rpc_task *task)
op_metrics->om_execute += execute;
}
-void _print_name(struct seq_file *seq, unsigned int op, struct rpc_procinfo *procs)
+static void _print_name(struct seq_file *seq, unsigned int op,
+ struct rpc_procinfo *procs)
{
if (procs[op].p_name)
seq_printf(seq, "\t%12s: ", procs[op].p_name);