diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-02-24 12:10:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-24 13:38:35 -0800 |
commit | 3b2275a8d83a29e579b4f96f4c431d824e5f4a16 (patch) | |
tree | 5963da71590be68f83ba043a879c3b58f59d9aa9 /drivers/message | |
parent | d0146756a0993d3a01407b38cd87d965ccda72c6 (diff) | |
download | linux-3b2275a8d83a29e579b4f96f4c431d824e5f4a16.tar.gz linux-3b2275a8d83a29e579b4f96f4c431d824e5f4a16.tar.bz2 linux-3b2275a8d83a29e579b4f96f4c431d824e5f4a16.zip |
hugetlbfs: use helper macro default_hstate in init_hugetlbfs_fs
Since commit e5ff215941d5 ("hugetlb: multiple hstates for multiple page
sizes"), we can use macro default_hstate to get the struct hstate which we
use by default. But init_hugetlbfs_fs() forgot to use it.
Link: https://lkml.kernel.org/r/20210116091827.20982-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: 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/message')
0 files changed, 0 insertions, 0 deletions