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
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ int commit_inmem_pages(struct inode *inode, bool abort)
|
||||||
unlock_page(cur->page);
|
unlock_page(cur->page);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
clear_cold_data(cur->page);
|
||||||
submit_bio = true;
|
submit_bio = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue