diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-01 15:11:01 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-06-29 08:51:05 -0400 |
commit | d9ef44de5d731e1a1fa94ddb5e39ea1b308b1456 (patch) | |
tree | 80351a286a1e3d6a852ef44300e6eade024676a8 /fs/hugetlbfs | |
parent | 211d04445b96db5b3640bcf345ad59105068a549 (diff) | |
download | linux-d9ef44de5d731e1a1fa94ddb5e39ea1b308b1456.tar.bz2 |
hugetlb: Convert huge_add_to_page_cache() to use a folio
Remove the last caller of add_to_page_cache()
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 62408047e8d7..ae2524480f23 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -759,7 +759,7 @@ static long hugetlbfs_fallocate(struct file *file, int mode, loff_t offset, SetHPageMigratable(page); /* - * unlock_page because locked by add_to_page_cache() + * unlock_page because locked by huge_add_to_page_cache() * put_page() due to reference from alloc_huge_page() */ unlock_page(page); |