f2fs: fix to clear GCed flag for atomic written page

Atomic write page can be GCed, after committing this kind of page, we should
clear the GCed flag for it.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Chao Yu 2015-10-22 18:18:11 +08:00 committed by Jaegeuk Kim
parent 2b246fb0f6
commit 7fee740697

View file

@ -253,6 +253,7 @@ int commit_inmem_pages(struct inode *inode, bool abort)
unlock_page(cur->page);
break;
}
clear_cold_data(cur->page);
submit_bio = true;
}
} else {