projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b246fb
)
f2fs: fix to clear GCed flag for atomic written page
author
Chao Yu
<chao2.yu@samsung.com>
Thu, 22 Oct 2015 10:18:11 +0000
(18:18 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 22 Oct 2015 16:37:13 +0000
(09:37 -0700)
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>
fs/f2fs/segment.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/segment.c
b/fs/f2fs/segment.c
index 7efd96ad9aac40b51d861ca7cee493a53333093f..f77b3258454a6f9b55810a72982436e9bf7a162e 100644
(file)
--- 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 {