The following commit has been merged in the master branch:
commit 51c0387aaa5ec507c6e29063ef56d98e2931402d
Author: Marcio Barbosa <[email protected]>
Date:   Wed Mar 23 16:04:46 2022 -0300

    UKERNEL: Remove flock -> usr_flock redirection
    
    In order to replace 'struck flock' with 'struct usr_flock' and 'flock()'
    with 'usr_flock()', the current version of src/afs/UKERNEL/sysincludes.h
    defines flock to usr_flock. This can cause problems when trying to use
    libroken in UKERNEL code, because roken.h redefines flock.
    
    To avoid conflicts with libroken (included in a future commit), add a
    new UKERNEL specific AFS_FLOCK -> usr_flock redirection. Doing so, the
    flock -> usr_flock redirection can be removed. While here, also remove
    'usr_flock()' as it shouldn't be called and is not defined in any header
    file.
    
    Change-Id: Ia71811513ab6655f60d8b63fc18b26be663ab4dc
    Reviewed-on: https://gerrit.openafs.org/14913
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/afs/UKERNEL/afs_usrops.c  | 11 -----------
 src/afs/UKERNEL/sysincludes.h |  4 +---
 src/afs/afs.h                 | 16 ++++++++--------
 3 files changed, 9 insertions(+), 22 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to