diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 03:58:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:00 -0400 |
commit | 07d45da616f8514651360b502314fc9554223a03 (patch) | |
tree | ac9c673a369f2ab3c0476179d4269a432a978a02 /fs/drop_caches.c | |
parent | f11b00f3bd89c91c684d56b2082d1b0241ff20ae (diff) |
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>
Diffstat (limited to 'fs/drop_caches.c')
-rw-r--r-- | fs/drop_caches.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/drop_caches.c b/fs/drop_caches.c index 59375efcf39..e2c6b6500c7 100644 --- a/fs/drop_caches.c +++ b/fs/drop_caches.c | |||
@@ -25,7 +25,7 @@ static void drop_pagecache_sb(struct super_block *sb) | |||
25 | spin_unlock(&inode_lock); | 25 | spin_unlock(&inode_lock); |
26 | } | 26 | } |
27 | 27 | ||
28 | void drop_pagecache(void) | 28 | static void drop_pagecache(void) |
29 | { | 29 | { |
30 | struct super_block *sb; | 30 | struct super_block *sb; |
31 | 31 | ||
@@ -45,7 +45,7 @@ restart: | |||
45 | spin_unlock(&sb_lock); | 45 | spin_unlock(&sb_lock); |
46 | } | 46 | } |
47 | 47 | ||
48 | void drop_slab(void) | 48 | static void drop_slab(void) |
49 | { | 49 | { |
50 | int nr_objects; | 50 | int nr_objects; |
51 | 51 | ||