From 309c9f3d56d9c421baf2cf5dad16e165e87ddb6f Mon Sep 17 00:00:00 2001 From: Ryusuke Konishi Date: Sun, 15 Nov 2009 20:13:21 +0900 Subject: [PATCH] --- yaml --- r: 174707 b: refs/heads/master c: c3ea56c80081b826df4a0ac797432179cf5b7cd2 h: refs/heads/master i: 174705: 2b4dbc5fe310273db6fc5f28e4ec2e944207de1c 174703: 5ac7b26c0ef8623f61dbb54b3a656a5ac94b1ade v: v3 --- [refs] | 2 +- trunk/fs/nilfs2/gcdat.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f5a5ce3610fd..db4e77607856 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8908b2f70b795299d21706b5a97676cfe7f9056a +refs/heads/master: c3ea56c80081b826df4a0ac797432179cf5b7cd2 diff --git a/trunk/fs/nilfs2/gcdat.c b/trunk/fs/nilfs2/gcdat.c index 93383c5cee90..dd5f7e0a95f6 100644 --- a/trunk/fs/nilfs2/gcdat.c +++ b/trunk/fs/nilfs2/gcdat.c @@ -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. */ @@ -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); }