diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ee7a96ef40dc..2099904d6cc4 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -462,6 +462,8 @@ static inline int free_pages_check(struct page *page) | |||
462 | bad_page(page); | 462 | bad_page(page); |
463 | if (PageDirty(page)) | 463 | if (PageDirty(page)) |
464 | __ClearPageDirty(page); | 464 | __ClearPageDirty(page); |
465 | if (PageSwapBacked(page)) | ||
466 | __ClearPageSwapBacked(page); | ||
465 | /* | 467 | /* |
466 | * For now, we report if PG_reserved was found set, but do not | 468 | * For now, we report if PG_reserved was found set, but do not |
467 | * clear it, and do not free the page. But we shall soon need | 469 | * clear it, and do not free the page. But we shall soon need |