summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/cache.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-27 01:15:10 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 08:44:43 -0800
commit74cae61ab45f19a3e8c4d9f53c0e94df129c7915 (patch)
tree73ad8b7c562c5e790777b4c93352f739b521f382 /net/sunrpc/cache.c
parentbaab935ff3bdac20c558809da0d8e8f761840219 (diff)
downloadop-kernel-dev-74cae61ab45f19a3e8c4d9f53c0e94df129c7915.zip
op-kernel-dev-74cae61ab45f19a3e8c4d9f53c0e94df129c7915.tar.gz
[PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static
We can now make some code static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Neil Brown <neilb@suse.de> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r--net/sunrpc/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
index dd81e59..3ac4193 100644
--- a/net/sunrpc/cache.c
+++ b/net/sunrpc/cache.c
@@ -37,7 +37,7 @@
static void cache_defer_req(struct cache_req *req, struct cache_head *item);
static void cache_revisit_request(struct cache_head *item);
-void cache_init(struct cache_head *h)
+static void cache_init(struct cache_head *h)
{
time_t now = get_seconds();
h->next = NULL;
OpenPOWER on IntegriCloud