Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174707
b: refs/heads/master
c: c3ea56c
h: refs/heads/master
i:
  174705: 2b4dbc5
  174703: 5ac7b26
v: v3
  • Loading branch information
Ryusuke Konishi committed Nov 20, 2009
1 parent 6f68cab commit 309c9f3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8908b2f70b795299d21706b5a97676cfe7f9056a
refs/heads/master: c3ea56c80081b826df4a0ac797432179cf5b7cd2
3 changes: 3 additions & 0 deletions trunk/fs/nilfs2/gcdat.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ void nilfs_commit_gcdat_inode(struct the_nilfs *nilfs)

nilfs_bmap_commit_gcdat(gii->i_bmap, dii->i_bmap);

nilfs_palloc_clear_cache(dat);
nilfs_palloc_clear_cache(gcdat);
nilfs_clear_dirty_pages(mapping);
nilfs_copy_back_pages(mapping, gmapping);
/* note: mdt dirty flags should be cleared by segctor. */
Expand All @@ -79,6 +81,7 @@ void nilfs_clear_gcdat_inode(struct the_nilfs *nilfs)
gcdat->i_state = I_CLEAR;
gii->i_flags = 0;

nilfs_palloc_clear_cache(gcdat);
truncate_inode_pages(gcdat->i_mapping, 0);
truncate_inode_pages(&gii->i_btnode_cache, 0);
}

0 comments on commit 309c9f3

Please sign in to comment.