diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-05-04 18:33:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-05 11:27:20 -0700 |
commit | d83e6c8a9b65876b0dcd11ca25e8c39bd7bb1a1c (patch) | |
tree | e6fbe475efec7f0a2277c65fdb9d1b947c5628b6 /drivers/dax | |
parent | 5c8ecb131a655e775287380428ac1c764c117ee6 (diff) |
mm/hugetlb: simplify the code when alloc_huge_page() failed in hugetlb_no_page()
Rework the error handling code when alloc_huge_page() failed to remove
some duplicated code and simplify the code slightly.
Link: https://lkml.kernel.org/r/20210308112809.26107-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions