diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-10-22 12:18:11 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-22 18:37:13 +0200 |
commit | 7fee740697e0d9a57d618b6fec79e4c4e09fd606 (patch) | |
tree | ab0c45fa4e7656bf2bcc3194d7c7efd204812c39 /fs/f2fs | |
parent | f2fs: don't need to submit bio on error case (diff) | |
download | linux-7fee740697e0d9a57d618b6fec79e4c4e09fd606.tar.xz linux-7fee740697e0d9a57d618b6fec79e4c4e09fd606.zip |
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/f2fs')
-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 7efd96ad9aac..f77b3258454a 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 { |