Commit 536c9490 authored by Al Viro's avatar Al Viro

befs ->pust_super() doesn't need BKL

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 608ba50b
...@@ -737,8 +737,6 @@ parse_options(char *options, befs_mount_options * opts) ...@@ -737,8 +737,6 @@ parse_options(char *options, befs_mount_options * opts)
static void static void
befs_put_super(struct super_block *sb) befs_put_super(struct super_block *sb)
{ {
lock_kernel();
kfree(BEFS_SB(sb)->mount_opts.iocharset); kfree(BEFS_SB(sb)->mount_opts.iocharset);
BEFS_SB(sb)->mount_opts.iocharset = NULL; BEFS_SB(sb)->mount_opts.iocharset = NULL;
...@@ -749,8 +747,6 @@ befs_put_super(struct super_block *sb) ...@@ -749,8 +747,6 @@ befs_put_super(struct super_block *sb)
kfree(sb->s_fs_info); kfree(sb->s_fs_info);
sb->s_fs_info = NULL; sb->s_fs_info = NULL;
unlock_kernel();
} }
/* Allocate private field of the superblock, fill it. /* Allocate private field of the superblock, fill it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment