summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 00:58:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:00 -0700
commit6b09ae66922ca198e5830c0a4d74400a507a9170 (patch)
treef434f8927f972e98637cc1cfdbc226d6f3c742de /fs/super.c
parent8b1919a1e8b8968e0ac9030a4f14f0d2cd69e7cf (diff)
downloadlwn-6b09ae66922ca198e5830c0a4d74400a507a9170.tar.gz
lwn-6b09ae66922ca198e5830c0a4d74400a507a9170.zip
make __put_super() static
Make the needlessly global __put_super() static. 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/super.c')
-rw-r--r--fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c
index a5a4aca7e22f..453877c5697b 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -117,7 +117,7 @@ static inline void destroy_super(struct super_block *s)
* Drop a superblock's refcount. Returns non-zero if the superblock was
* destroyed. The caller must hold sb_lock.
*/
-int __put_super(struct super_block *sb)
+static int __put_super(struct super_block *sb)
{
int ret = 0;