[PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper
Christoph Hellwig
hch at infradead.org
Mon Jun 16 22:29:43 PDT 2025
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.
More information about the linux-afs
mailing list