Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144901
b: refs/heads/master
c: 8433823
h: refs/heads/master
i:
  144899: 02d6d13
v: v3
  • Loading branch information
Ryusuke Konishi committed May 10, 2009
1 parent 8ded2ac commit 7fe693d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 201913ed746c7724a40d33ee5a0b6a1fd2ef3193
refs/heads/master: 843382370ec614768ac13582405f93635cf3637c
2 changes: 1 addition & 1 deletion trunk/fs/nilfs2/mdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ int nilfs_mdt_delete_block(struct inode *inode, unsigned long block)
int err;

err = nilfs_bmap_delete(ii->i_bmap, block);
if (likely(!err)) {
if (!err || err == -ENOENT) {
nilfs_mdt_mark_dirty(inode);
nilfs_mdt_forget_block(inode, block);
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/fs/nilfs2/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ void nilfs_forget_buffer(struct buffer_head *bh)

lock_buffer(bh);
clear_buffer_nilfs_volatile(bh);
if (test_clear_buffer_dirty(bh) && nilfs_page_buffers_clean(page))
clear_buffer_dirty(bh);
if (nilfs_page_buffers_clean(page))
__nilfs_clear_page_dirty(page);

clear_buffer_uptodate(bh);
Expand Down

0 comments on commit 7fe693d

Please sign in to comment.