[PATCH v3 05/13] mm/vma: rename __mmap_prepare() function to avoid confusion

Jason Gunthorpe jgg at nvidia.com
Tue Sep 16 09:48:28 PDT 2025


On Tue, Sep 16, 2025 at 03:11:51PM +0100, Lorenzo Stoakes wrote:
> Now we have the f_op->mmap_prepare() hook, having a static function called
> __mmap_prepare() that has nothing to do with it is confusing, so rename
> the function to __mmap_setup().
> 
> Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
> Reviewed-by: David Hildenbrand <david at redhat.com>
> ---
>  mm/vma.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

Jason



More information about the kexec mailing list