befs ->pust_super() doesn't need BKL
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jun 2009 03:24:50 +0000 (23:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Jun 2009 04:36:36 +0000 (00:36 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/befs/linuxvfs.c

index 9367b6297d84c819c1c42abef581ed39c0093b78..02c06138bc6aa3faf954ef2f6083c9e6aea503db 100644 (file)
@@ -737,8 +737,6 @@ parse_options(char *options, befs_mount_options * opts)
 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 @@ befs_put_super(struct super_block *sb)
 
        kfree(sb->s_fs_info);
        sb->s_fs_info = NULL;
-
-       unlock_kernel();
 }
 
 /* Allocate private field of the superblock, fill it.