summaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r--mm/memory-failure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory-failure.c b/mm/memory-failure.c
index 9d142b9b86dc..c83a1746812f 100644
--- a/mm/memory-failure.c
+++ b/mm/memory-failure.c
@@ -1167,7 +1167,7 @@ int memory_failure(unsigned long pfn, int flags)
1167 * R/W the page; let's pray that the page has been 1167 * R/W the page; let's pray that the page has been
1168 * used and will be freed some time later. 1168 * used and will be freed some time later.
1169 * In fact it's dangerous to directly bump up page count from 0, 1169 * In fact it's dangerous to directly bump up page count from 0,
1170 * that may make page_freeze_refs()/page_unfreeze_refs() mismatch. 1170 * that may make page_ref_freeze()/page_ref_unfreeze() mismatch.
1171 */ 1171 */
1172 if (!(flags & MF_COUNT_INCREASED) && !get_hwpoison_page(p)) { 1172 if (!(flags & MF_COUNT_INCREASED) && !get_hwpoison_page(p)) {
1173 if (is_free_buddy_page(p)) { 1173 if (is_free_buddy_page(p)) {