hfs: push lock_super down
[deliverable/linux.git] / fs / hfs / super.c
index 7b4c537d6e136b42fba064de39b0c57703b5fec3..f7c06bbf33bcbe3aec9325e52ea7122c67dcb6db 100644 (file)
@@ -50,21 +50,17 @@ MODULE_LICENSE("GPL");
  */
 static void hfs_write_super(struct super_block *sb)
 {
-       lock_super(sb);
        sb->s_dirt = 0;
 
        /* sync everything to the buffers */
        if (!(sb->s_flags & MS_RDONLY))
                hfs_mdb_commit(sb);
-       unlock_super(sb);
 }
 
 static int hfs_sync_fs(struct super_block *sb, int wait)
 {
-       lock_super(sb);
        hfs_mdb_commit(sb);
        sb->s_dirt = 0;
-       unlock_super(sb);
 
        return 0;
 }
This page took 0.026312 seconds and 5 git commands to generate.