Re: [PATCH v8 15/15] hugetlb: replace hugetlbfs_read_iter() with generic_file_read_iter()

Gregory Price <[email protected]>
Newsgroups org.kernel.vger.linux-fsdevel,org.kvack.linux-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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.