befs ->pust_super() doesn't need BKL Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 9367b62..02c0613 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c
@@ -737,8 +737,6 @@ static void befs_put_super(struct super_block *sb) { - lock_kernel(); - kfree(BEFS_SB(sb)->mount_opts.iocharset); BEFS_SB(sb)->mount_opts.iocharset = NULL; @@ -749,8 +747,6 @@ kfree(sb->s_fs_info); sb->s_fs_info = NULL; - - unlock_kernel(); } /* Allocate private field of the superblock, fill it.