OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-32-g52c4bf4

Gerrit Code Review gerrit@openafs.org
Sun, 1 Nov 2020 13:15:17 -0500


The following commit has been merged in the master branch:
commit 52c4bf4d18a82d70016b584db95ab66aaa7ffb15
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Mon Oct 19 16:07:44 2020 -0500

    audit: Always call pthread_once in osi_audit_init
    
    Currently, we skip the pthread_once call in osi_audit_init if
    audit_lock_initialized is set. But this is somewhat pointless, since
    pthread_once will effectively do this check itself, and better (it
    will wait if osi_audit_init is actively running in another thread).
    
    So just get rid of audit_lock_initialized, and replace the other
    assert for audit_lock_initialized with another plain pthread_once
    call.
    
    Change-Id: I466c8ec2d1516edecaae23d4354892e7e3a88918
    Reviewed-on: https://gerrit.openafs.org/14403
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/audit/audit.c |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

-- 
OpenAFS Master Repository