[-mm patch] NFS: make 2 functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 03, 2006 at 04:56:51AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc5-mm1:
>...
>  git-nfs.patch
>...
>  git trees
>...

This introduces two needlessly global functions.


Signed-off-by: Adrian Bunk <[email protected]>

---

 fs/lockd/svclock.c |    2 +-
 net/sunrpc/stats.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

--- linux-2.6.16-rc5-mm2-full/fs/lockd/svclock.c.old	2006-03-03 18:14:09.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/fs/lockd/svclock.c	2006-03-03 18:14:17.000000000 +0100
@@ -636,7 +636,7 @@
 	svc_wake_up(block->b_daemon);
 }
 
-void nlmsvc_grant_release(void *data)
+static void nlmsvc_grant_release(void *data)
 {
 	nlmsvc_release_block(data);
 }
--- linux-2.6.16-rc5-mm2-full/net/sunrpc/stats.c.old	2006-03-03 18:24:48.000000000 +0100
+++ linux-2.6.16-rc5-mm2-full/net/sunrpc/stats.c	2006-03-03 18:25:10.000000000 +0100
@@ -176,7 +176,8 @@
 	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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux