Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229088
b: refs/heads/master
c: 156e743
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Jan Kara committed Jan 10, 2011
1 parent 46ec34a commit a316a79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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: 41dc6385bd6cd3366c1b4bede33688521eb21db9
refs/heads/master: 156e74312f1ffc0a2639c24c771c5a0e106f0505
6 changes: 4 additions & 2 deletions trunk/fs/ext3/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2145,13 +2145,15 @@ static void ext3_clear_blocks(handle_t *handle, struct inode *inode,
if (try_to_extend_transaction(handle, inode)) {
if (bh) {
BUFFER_TRACE(bh, "call ext3_journal_dirty_metadata");
ext3_journal_dirty_metadata(handle, bh);
if (ext3_journal_dirty_metadata(handle, bh))
return;
}
ext3_mark_inode_dirty(handle, inode);
truncate_restart_transaction(handle, inode);
if (bh) {
BUFFER_TRACE(bh, "retaking write access");
ext3_journal_get_write_access(handle, bh);
if (ext3_journal_get_write_access(handle, bh))
return;
}
}

Expand Down
4 changes: 3 additions & 1 deletion trunk/fs/ext3/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,9 @@ static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry,
if (err)
goto journal_error;
}
ext3_journal_dirty_metadata(handle, frames[0].bh);
err = ext3_journal_dirty_metadata(handle, frames[0].bh);
if (err)
goto journal_error;
}
de = do_split(handle, dir, &bh, frame, &hinfo, &err);
if (!de)
Expand Down

0 comments on commit a316a79

Please sign in to comment.