mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] severing fs.h, radix-tree.h -> sched.h
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f6a570333e
commit
914e26379d
22 changed files with 44 additions and 31 deletions
18
fs/super.c
18
fs/super.c
|
|
@ -220,6 +220,24 @@ static int grab_super(struct super_block *s) __releases(sb_lock)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Superblock locking. We really ought to get rid of these two.
|
||||
*/
|
||||
void lock_super(struct super_block * sb)
|
||||
{
|
||||
get_fs_excl();
|
||||
mutex_lock(&sb->s_lock);
|
||||
}
|
||||
|
||||
void unlock_super(struct super_block * sb)
|
||||
{
|
||||
put_fs_excl();
|
||||
mutex_unlock(&sb->s_lock);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(lock_super);
|
||||
EXPORT_SYMBOL(unlock_super);
|
||||
|
||||
/*
|
||||
* Write out and wait upon all dirty data associated with this
|
||||
* superblock. Filesystem data as well as the underlying block
|
||||
|
|
|
|||
Loading…
Reference in a new issue