Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147882
b: refs/heads/master
c: 58bc5bb
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Al Viro committed Jun 12, 2009
1 parent c6c4dbf commit a5ceedd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f83d6d46e7adf241a064a4a425e5cd8a8fd8925f
refs/heads/master: 58bc5bbb873eb5d86126a3fd3ff02aaa69ec15d0
11 changes: 11 additions & 0 deletions trunk/fs/hfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ static void hfs_write_super(struct super_block *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;
}

/*
* hfs_put_super()
*
Expand Down Expand Up @@ -172,6 +182,7 @@ static const struct super_operations hfs_super_operations = {
.clear_inode = hfs_clear_inode,
.put_super = hfs_put_super,
.write_super = hfs_write_super,
.sync_fs = hfs_sync_fs,
.statfs = hfs_statfs,
.remount_fs = hfs_remount,
.show_options = hfs_show_options,
Expand Down

0 comments on commit a5ceedd

Please sign in to comment.