]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fix mm-filemap-add-helper-for-finding-pages.patch
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 31 Dec 2020 22:04:17 +0000 (22:04 +0000)
committerJohannes Weiner <hannes@cmpxchg.org>
Thu, 31 Dec 2020 22:04:17 +0000 (22:04 +0000)
Link: https://lkml.kernel.org/r/20201124041507.28996-2-willy@infradead.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/filemap.c

index 40226e147ea5308e0c998ee90fb39c97bdb26108..cf0c2768762090755d6ba76b7966e9f2845a67b6 100644 (file)
@@ -1867,7 +1867,6 @@ retry:
                put_page(page);
                goto reset;
        }
-       VM_BUG_ON_PAGE(!thp_contains(page, xas->xa_index), page);
 
        return page;
 reset: