Re: [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper

Christoph Hellwig
2025-06-17T05:35:48Z

On Tue, Jun 17, 2025 at 06:25:34AM +0100, Lorenzo Stoakes wrote:
> > > Most notably, this updates the elf logic to allow for the ability to
> > > execute binaries on filesystems which have the .mmap_prepare hook, but
> > > additionally we update nested filesystems.
> >
> > Can you please give the function a better name before spreading it?
> > file operations aren't hooks by any classic definition.
> >
>
> can_mmap_file()?

Sounds reasonable.