diff options
author | Miaohe Lin | 2022-09-01 20:00:29 +0800 |
---|---|---|
committer | Andrew Morton | 2022-09-11 20:26:10 -0700 |
commit | 5e6b1bf1b5c3c8b72fa2eea9d8731d5c59773945 (patch) | |
tree | 063017aedb2d1aaa7df9eb895c4388f881cdf9d3 /fs/Kconfig | |
parent | a9e1eab241bdaadd56b6cfdc481cff6a24c4799b (diff) |
hugetlb: remove meaningless BUG_ON(huge_pte_none())
When code reaches here, invalid page would have been accessed if huge pte
is none. So this BUG_ON(huge_pte_none()) is meaningless. Remove it.
Link: https://lkml.kernel.org/r/20220901120030.63318-10-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions