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:
parent
2b246fb0f6
commit
7fee740697
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue