summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/gcdat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/gcdat.c')
-rw-r--r--fs/nilfs2/gcdat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/gcdat.c b/fs/nilfs2/gcdat.c
index dd5f7e0a95f6..84a45d1d5464 100644
--- a/fs/nilfs2/gcdat.c
+++ b/fs/nilfs2/gcdat.c
@@ -78,7 +78,7 @@ void nilfs_clear_gcdat_inode(struct the_nilfs *nilfs)
struct inode *gcdat = nilfs->ns_gc_dat;
struct nilfs_inode_info *gii = NILFS_I(gcdat);
- gcdat->i_state = I_CLEAR;
+ gcdat->i_state = I_FREEING | I_CLEAR;
gii->i_flags = 0;
nilfs_palloc_clear_cache(gcdat);