OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-580-g8da47f7

Gerrit Code Review gerrit@openafs.org
Thu, 3 Sep 2026 12:08:37 -0400


The following commit has been merged in the master branch:
commit 8da47f7b3f67306f97f81b6389fa804b80057371
Author: Mark Vitale <mvitale@sinenomine.net>
Date:   Wed May 17 16:23:47 2023 -0400

    audit: Refactor osi_audit_check
    
    In preparation for a future commit, create a new audit routine
    osi_audit_always that does not need to check the current state before
    writing an audit record.  This is implemented by calling
    osi_audit_internal.  Remove the call to osi_audit_check in
    osi_audit_intenal to avoid recursion; the call is unnecessary since all
    callers do the same check themselves.
    
    In addition, split new routine osi_audit_report_status out of
    osi_audit_check, and have it call osi_audit_always.
    
    No functional change should be incurred by this commit.
    
    Change-Id: If5248d123aaf9c7b9623af2a2edf521d39b8106f
    Reviewed-on: https://gerrit.openafs.org/15459
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>

 src/audit/audit.c | 36 +++++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)

-- 
OpenAFS Master Repository