diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 21:15:42 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:52:35 -0500 |
commit | f47ec3f28354795f000c14bf18ed967ec81a3ec3 (patch) | |
tree | 662d479706bd948963ad3f9f00c2e6caedbe5a92 /fs/super.c | |
parent | 5ede7b1cfa8201418fb35e12f770e9e7c2559a4d (diff) |
trim fs/internal.h
some stuff in there can actually become static; some belongs to pnode.h
as it's a private interface between namespace.c and pnode.c...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c index afd0f1ad45e0..66a12f9bfc20 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -210,7 +210,7 @@ static inline void destroy_super(struct super_block *s) | |||
210 | /* | 210 | /* |
211 | * Drop a superblock's refcount. The caller must hold sb_lock. | 211 | * Drop a superblock's refcount. The caller must hold sb_lock. |
212 | */ | 212 | */ |
213 | void __put_super(struct super_block *sb) | 213 | static void __put_super(struct super_block *sb) |
214 | { | 214 | { |
215 | if (!--sb->s_count) { | 215 | if (!--sb->s_count) { |
216 | list_del_init(&sb->s_list); | 216 | list_del_init(&sb->s_list); |
@@ -225,7 +225,7 @@ void __put_super(struct super_block *sb) | |||
225 | * Drops a temporary reference, frees superblock if there's no | 225 | * Drops a temporary reference, frees superblock if there's no |
226 | * references left. | 226 | * references left. |
227 | */ | 227 | */ |
228 | void put_super(struct super_block *sb) | 228 | static void put_super(struct super_block *sb) |
229 | { | 229 | { |
230 | spin_lock(&sb_lock); | 230 | spin_lock(&sb_lock); |
231 | __put_super(sb); | 231 | __put_super(sb); |