OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_0-55-gecc94cd

Gerrit Code Review
Thu, 7 Jun 2018 20:07:34 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit ecc94cdf1b79f49e87b4147cd9301f7dcb2af735
Author: Marcio Barbosa <>
Date:   Thu May 10 00:46:01 2018 -0300

    afs: alloc openafs_lck_grp before osi_Init() on darwin
    Commit a27bed59cae1a4244429c752edfde0a8363c8a3b moved init_hckernel_init
    to osi_Init. On Darwin (AFS_DARWIN80_ENV), MUTEX_INIT
    (called by init_hckernel_init) uses openafs_lck_grp as the argument of
    one of the functions called during the initialization of the mutex in
    question. Since openafs_lck_grp was not allocated yet, we crash.
    To fix this problem, call MUTEX_SETUP() before osi_Init() on Darwin.
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit 8e740aed774d4507e656e6ae743f6c6fe6c0e356)
    Change-Id: Ic1c58b5e2baeedd1cd24c364dd2907761064c8a9
    Tested-by: BuildBot <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Benjamin Kaduk <>

 src/afs/DARWIN/osi_module.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

OpenAFS Master Repository