Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fee7406 authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

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: default avatarChao Yu <chao2.yu@samsung.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 2b246fb0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {