summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/super.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-10-01 05:41:53 +0200
committerChristoph Hellwig <hch@lst.de>2010-10-01 05:41:53 +0200
commite753a62156e952fd5a3c64f98454d9aeee3a2546 (patch)
tree1f474a1212a0690cf30b817822a31094b52e8b5d /fs/hfsplus/super.c
parenta9fdbf8c6070d49c482e209df7ee93d9ec41ea27 (diff)
downloadlinux-e753a62156e952fd5a3c64f98454d9aeee3a2546.tar.bz2
hfsplus: remove BKL from hfsplus_put_super
Except for ->put_super the BKL is now gone from HFS, which means it's superflous there too as ->put_super is serialized by the VFS. Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/super.c')
-rw-r--r--fs/hfsplus/super.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c
index 4936642debaa..a1d3fd920403 100644
--- a/fs/hfsplus/super.c
+++ b/fs/hfsplus/super.c
@@ -12,7 +12,6 @@
#include <linux/pagemap.h>
#include <linux/fs.h>
#include <linux/slab.h>
-#include <linux/smp_lock.h>
#include <linux/vfs.h>
#include <linux/nls.h>
@@ -213,8 +212,6 @@ static void hfsplus_put_super(struct super_block *sb)
if (!sb->s_fs_info)
return;
- lock_kernel();
-
if (sb->s_dirt)
hfsplus_write_super(sb);
if (!(sb->s_flags & MS_RDONLY) && HFSPLUS_SB(sb).s_vhdr) {
@@ -235,8 +232,6 @@ static void hfsplus_put_super(struct super_block *sb)
unload_nls(HFSPLUS_SB(sb).nls);
kfree(sb->s_fs_info);
sb->s_fs_info = NULL;
-
- unlock_kernel();
}
static int hfsplus_statfs(struct dentry *dentry, struct kstatfs *buf)