mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
5ede7b1cfa
commit
f47ec3f283
5 changed files with 15 additions and 28 deletions
|
|
@ -210,7 +210,7 @@ static inline void destroy_super(struct super_block *s)
|
|||
/*
|
||||
* Drop a superblock's refcount. The caller must hold sb_lock.
|
||||
*/
|
||||
void __put_super(struct super_block *sb)
|
||||
static void __put_super(struct super_block *sb)
|
||||
{
|
||||
if (!--sb->s_count) {
|
||||
list_del_init(&sb->s_list);
|
||||
|
|
@ -225,7 +225,7 @@ void __put_super(struct super_block *sb)
|
|||
* Drops a temporary reference, frees superblock if there's no
|
||||
* references left.
|
||||
*/
|
||||
void put_super(struct super_block *sb)
|
||||
static void put_super(struct super_block *sb)
|
||||
{
|
||||
spin_lock(&sb_lock);
|
||||
__put_super(sb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue