The following commit has been merged in the openafs-stable-1_8_x branch:
commit f1b890fbb916db6be5d8a50748b2563d43478771
Author: Cheyenne Wills <cwi...@sinenomine.net>
Date:   Wed Jun 12 14:16:43 2024 -0600

    Linux-6.10: define a wrapper for vmalloc
    
    The Linux 6.10 commit:
        "mm: vmalloc: enable memory allocation profiling" (88ae5fb755)
    changed vmalloc from a function to a wrapper macro.
    
    This change results in build errors:
        "error: implicit declaration of function ‘vmalloc’; did you mean
           ‘kmalloc’? [-Werror=implicit-function-declaration]"
    
    when vmalloc is passed as a parameter to the afs_atomlist_create() and
    afs_lhash_create() functions.
    
    Add a little wrapper function around vmalloc() to use for the parameter
    to afs_atomlist_create() and afs_lhash_create().
    
    Note: A configure test was not needed for this change since the name
    and functionality of Linux's vmalloc did not change.
    
    Reviewed-on: https://gerrit.openafs.org/15765
    Tested-by: BuildBot <build...@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adea...@sinenomine.net>
    Reviewed-by: Michael Meffie <mmef...@sinenomine.net>
    (cherry picked from commit 658942f2791fad5e33ec7542158c16dfc66eed39)
    
    Change-Id: Iece75aea9c8dbc072e1dfa83cf82aee88ac647dd
    Reviewed-on: https://gerrit.openafs.org/15797
    Tested-by: BuildBot <build...@rampaginggeek.com>
    Reviewed-by: Mark Vitale <mvit...@sinenomine.net>
    Reviewed-by: Michael Meffie <mmef...@sinenomine.net>
    Reviewed-by: Andrew Deason <adea...@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <ka...@mit.edu>

 src/afs/LINUX/osi_alloc.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to