OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_9-8-gfc5be91

Gerrit Code Review gerrit@openafs.org
Fri, 20 Jan 2023 08:24:45 -0500


The following commit has been merged in the openafs-stable-1_8_x branch:
commit fc5be911a0ef216b9af79a0ec6bc32512085d398
Author: Marcio Barbosa <mbarbosa@sinenomine.net>
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.
    
    Reviewed-on: https://gerrit.openafs.org/14913
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 51c0387aaa5ec507c6e29063ef56d98e2931402d)
    
    Change-Id: I3c2d9de056bae3f2fed68f1ec183540b63584a43
    Reviewed-on: https://gerrit.openafs.org/15238
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Harish Sharma <Harish.Sharma1@ibm.com>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 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