diff options
| author | Adrian Bunk <bunk@stusta.de> | 2006-04-18 13:21:50 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-04-19 12:43:47 -0400 |
| commit | ec535ce154f2eaad3d97f2f20a76a6d8bdac33e5 (patch) | |
| tree | e7a6b3c77051057e963c276b4f9f66d8a0d2c51a | |
| parent | e99170ff3b799a9fd43d538932a9231fac1de9d4 (diff) | |
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>
| -rw-r--r-- | fs/lockd/svclock.c | 2 | ||||
| -rw-r--r-- | net/sunrpc/stats.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c index d2b66bad7d50..3ef739120dff 100644 --- a/fs/lockd/svclock.c +++ b/fs/lockd/svclock.c | |||
| @@ -650,7 +650,7 @@ static void nlmsvc_grant_callback(struct rpc_task *task, void *data) | |||
| 650 | svc_wake_up(block->b_daemon); | 650 | svc_wake_up(block->b_daemon); |
| 651 | } | 651 | } |
| 652 | 652 | ||
| 653 | void nlmsvc_grant_release(void *data) | 653 | static void nlmsvc_grant_release(void *data) |
| 654 | { | 654 | { |
| 655 | struct nlm_rqst *call = data; | 655 | struct nlm_rqst *call = data; |
| 656 | 656 | ||
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) | |||
| 176 | op_metrics->om_execute += execute; | 176 | op_metrics->om_execute += execute; |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | void _print_name(struct seq_file *seq, unsigned int op, struct rpc_procinfo *procs) | 179 | static void _print_name(struct seq_file *seq, unsigned int op, |
| 180 | struct rpc_procinfo *procs) | ||
| 180 | { | 181 | { |
| 181 | if (procs[op].p_name) | 182 | if (procs[op].p_name) |
| 182 | seq_printf(seq, "\t%12s: ", procs[op].p_name); | 183 | seq_printf(seq, "\t%12s: ", procs[op].p_name); |
