From: Matthew Wilcox (Oracle) Date: Thu, 31 Dec 2020 22:04:17 +0000 (+0000) Subject: fix mm-filemap-add-helper-for-finding-pages.patch X-Git-Tag: howlett/maple_spf/20210104~141 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e528fd4ff22a8fde0f82a909d70c1d2384b9d7e0;p=users%2Fjedix%2Flinux-maple.git fix mm-filemap-add-helper-for-finding-pages.patch Link: https://lkml.kernel.org/r/20201124041507.28996-2-willy@infradead.org Signed-off-by: Andrew Morton --- diff --git a/mm/filemap.c b/mm/filemap.c index 40226e147ea5..cf0c27687620 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1867,7 +1867,6 @@ retry: put_page(page); goto reset; } - VM_BUG_ON_PAGE(!thp_contains(page, xas->xa_index), page); return page; reset: