提交 7fee7406 编写于 作者: C Chao Yu 提交者: Jaegeuk Kim

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: NChao Yu <chao2.yu@samsung.com>
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 2b246fb0
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册