get rid of BKL in fs/minix
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e7ec952f6a
commit
cc46759a8c
3 changed files with 14 additions and 20 deletions
|
@ -35,8 +35,6 @@ static void minix_put_super(struct super_block *sb)
|
|||
int i;
|
||||
struct minix_sb_info *sbi = minix_sb(sb);
|
||||
|
||||
lock_kernel();
|
||||
|
||||
if (!(sb->s_flags & MS_RDONLY)) {
|
||||
if (sbi->s_version != MINIX_V3) /* s_state is now out from V3 sb */
|
||||
sbi->s_ms->s_state = sbi->s_mount_state;
|
||||
|
@ -50,8 +48,6 @@ static void minix_put_super(struct super_block *sb)
|
|||
kfree(sbi->s_imap);
|
||||
sb->s_fs_info = NULL;
|
||||
kfree(sbi);
|
||||
|
||||
unlock_kernel();
|
||||
}
|
||||
|
||||
static struct kmem_cache * minix_inode_cachep;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue