fs/drop_caches.c: make 2 functions static

Make the following needlessly global functions static:

- drop_pagecache()
- drop_slab()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk
2008-04-29 00:58:57 -07:00
committed by Linus Torvalds
parent f11b00f3bd
commit 07d45da616
2 changed files with 2 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ static void drop_pagecache_sb(struct super_block *sb)
spin_unlock(&inode_lock);
}
void drop_pagecache(void)
static void drop_pagecache(void)
{
struct super_block *sb;
@@ -45,7 +45,7 @@ restart:
spin_unlock(&sb_lock);
}
void drop_slab(void)
static void drop_slab(void)
{
int nr_objects;