]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:44:24 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:07 +0000 (15:57 -0700)
commit69c99ac2937a7770a59b8c20d6cb03537a849f22
tree7c5588ccbc55a53b3bad61728b81d3b725a16dfd
parent71ba2455ba2f2f8777fe3bb03634c8895e5d8e23
mm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev

Since commit f2352ab51392 ("mm: fix crash when using XFS on loopback"),
page_mapping() can handle the Slab pages.  So remove this unnecessary
PageSlab check and obsolete comment.

Link: https://lkml.kernel.org/r/20220218090118.1105-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c