Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118442
b: refs/heads/master
c: c87591b
h: refs/heads/master
v: v3
  • Loading branch information
Arthur Jones authored and Linus Torvalds committed Nov 6, 2008
1 parent 2d6d11b commit 433324f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbdd12676c83df77480f00ebd32fc98fbe3bf836
refs/heads/master: c87591b719737b4e91eb1a9fa8fd55a4ff1886d6
11 changes: 5 additions & 6 deletions trunk/fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2390,13 +2390,12 @@ static void ext3_write_super (struct super_block * sb)

static int ext3_sync_fs(struct super_block *sb, int wait)
{
tid_t target;

sb->s_dirt = 0;
if (journal_start_commit(EXT3_SB(sb)->s_journal, &target)) {
if (wait)
log_wait_commit(EXT3_SB(sb)->s_journal, target);
}
if (wait)
ext3_force_commit(sb);
else
journal_start_commit(EXT3_SB(sb)->s_journal, NULL);

return 0;
}

Expand Down

0 comments on commit 433324f

Please sign in to comment.