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

Gerrit Code Review
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 <>
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
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Cheyenne Wills <>
    Reviewed-by: Benjamin Kaduk <>
    Tested-by: BuildBot <>
    (cherry picked from commit 51c0387aaa5ec507c6e29063ef56d98e2931402d)
    Change-Id: I3c2d9de056bae3f2fed68f1ec183540b63584a43
    Reviewed-by: Michael Meffie <>
    Tested-by: BuildBot <>
    Reviewed-by: Harish Sharma <>
    Reviewed-by: Stephan Wiesand <>

 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