diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-10-22 10:18:11 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-22 16:37:13 (GMT) |
commit | 7fee740697e0d9a57d618b6fec79e4c4e09fd606 (patch) | |
tree | ab0c45fa4e7656bf2bcc3194d7c7efd204812c39 /fs | |
parent | 2b246fb0f60d318cec6901a0326b94b50d5e1dcb (diff) | |
download | linux-7fee740697e0d9a57d618b6fec79e4c4e09fd606.tar.xz |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/segment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 7efd96ad..f77b325 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -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 { |