Re: [PATCH v8 15/15] hugetlb: replace hugetlbfs_read_iter() with generic_file_read_iter()
Gregory Price <[email protected]> Tue, 4 Aug 2026 17:26:46 -0400
| Newsgroups | gmane.linux.file-systems,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <anJY2zu_7J-ewVES@gourry-fedora-PF4VCD3F> |
On Fri, Jul 31, 2026 at 09:08:00PM +0100, Matthew Wilcox (Oracle) wrote:
>
> static const struct file_operations hugetlbfs_file_operations = {
> - .read_iter = hugetlbfs_read_iter,
> + .read_iter = generic_file_read_iter,
> .mmap = hugetlbfs_file_mmap,
> .fsync = noop_fsync,
> .get_unmapped_area = hugetlb_get_unmapped_area,
Still trying to wrap my head around 11 and 14, but this is nice.
Reviewed-by: Gregory Price (Meta) <[email protected]>