aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs/linuxvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r--fs/befs/linuxvfs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 9367b6297d8..02c06138bc6 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -737,8 +737,6 @@ parse_options(char *options, befs_mount_options * opts)
737static void 737static void
738befs_put_super(struct super_block *sb) 738befs_put_super(struct super_block *sb)
739{ 739{
740 lock_kernel();
741
742 kfree(BEFS_SB(sb)->mount_opts.iocharset); 740 kfree(BEFS_SB(sb)->mount_opts.iocharset);
743 BEFS_SB(sb)->mount_opts.iocharset = NULL; 741 BEFS_SB(sb)->mount_opts.iocharset = NULL;
744 742
@@ -749,8 +747,6 @@ befs_put_super(struct super_block *sb)
749 747
750 kfree(sb->s_fs_info); 748 kfree(sb->s_fs_info);
751 sb->s_fs_info = NULL; 749 sb->s_fs_info = NULL;
752
753 unlock_kernel();
754} 750}
755 751
756/* Allocate private field of the superblock, fill it. 752/* Allocate private field of the superblock, fill it.