aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-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 @@
12#include <linux/pagemap.h> 12#include <linux/pagemap.h>
13#include <linux/fs.h> 13#include <linux/fs.h>
14#include <linux/slab.h> 14#include <linux/slab.h>
15#include <linux/smp_lock.h>
16#include <linux/vfs.h> 15#include <linux/vfs.h>
17#include <linux/nls.h> 16#include <linux/nls.h>
18 17
@@ -213,8 +212,6 @@ static void hfsplus_put_super(struct super_block *sb)
213 if (!sb->s_fs_info) 212 if (!sb->s_fs_info)
214 return; 213 return;
215 214
216 lock_kernel();
217
218 if (sb->s_dirt) 215 if (sb->s_dirt)
219 hfsplus_write_super(sb); 216 hfsplus_write_super(sb);
220 if (!(sb->s_flags & MS_RDONLY) && HFSPLUS_SB(sb).s_vhdr) { 217 if (!(sb->s_flags & MS_RDONLY) && HFSPLUS_SB(sb).s_vhdr) {
@@ -235,8 +232,6 @@ static void hfsplus_put_super(struct super_block *sb)
235 unload_nls(HFSPLUS_SB(sb).nls); 232 unload_nls(HFSPLUS_SB(sb).nls);
236 kfree(sb->s_fs_info); 233 kfree(sb->s_fs_info);
237 sb->s_fs_info = NULL; 234 sb->s_fs_info = NULL;
238
239 unlock_kernel();
240} 235}
241 236
242static int hfsplus_statfs(struct dentry *dentry, struct kstatfs *buf) 237static int hfsplus_statfs(struct dentry *dentry, struct kstatfs *buf)