Re: [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper
From: Christoph Hellwig
Date: Tue Jun 17 2025 - 01:30:45 EST
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.