Message ID | 20220216091431.39406-9-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | A few cleanup and fixup patches for memory failure | expand |
diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 5d2e653a145d..6e7baa90214a 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -1842,7 +1842,7 @@ int memory_failure(unsigned long pfn, int flags) * page_lock. We need wait writeback completion for this page or it * may trigger vfs BUG while evict inode. */ - if (!PageTransTail(p) && !PageLRU(p) && !PageWriteback(p)) + if (!PageLRU(p) && !PageWriteback(p)) goto identify_page_state; /*