hfs: push lock_super down
[deliverable/linux.git] / fs / hfs / inode.c
index 451c97281b832519ee2db53782f4cfb7c737777c..f2deefdb406684c5f9b592deb580a3356100d946 100644 (file)
@@ -645,11 +645,9 @@ static int hfs_file_fsync(struct file *filp, loff_t start, loff_t end,
        /* sync the superblock to buffers */
        sb = inode->i_sb;
        if (sb->s_dirt) {
-               lock_super(sb);
                sb->s_dirt = 0;
                if (!(sb->s_flags & MS_RDONLY))
                        hfs_mdb_commit(sb);
-               unlock_super(sb);
        }
        /* .. finally sync the buffers to disk */
        err = sync_blockdev(sb->s_bdev);
This page took 0.028212 seconds and 5 git commands to generate.