lkml.org 
[lkml]   [2006]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] NFS: make 2 functions static
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 <bunk@stusta.de>

---
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-03-04 13:19    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site