mm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 28 Feb 2022 23:01:09 +0000 (10:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:01:09 +0000 (10:01 +1100)
commitd4df061d74bde6b0ea67f331e63f49ef5d4d239c
treefdcfc6bac757120e80b46e8f4e862ef8630b2678
parentabafb69c55e5360cdc266197919603b62d4aef6f
mm/memory-failure.c: remove PageSlab check in hwpoison_filter_dev

Since commit 03e5ac2fc3bf ("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: Stephen Rothwell <sfr@canb.auug.org.au>
mm/memory-failure.c