The following commit has been merged in the openafs-stable-1_8_x branch:
commit 691e90fa1c58d9afb2e26fe6b9022329364ac048
Author: Cheyenne Wills <cwi...@sinenomine.net>
Date:   Thu Jul 31 10:20:13 2025 -0600

    linux: refactor afs_linux_writepage
    
    In preparation for a future commit, refactor afs_linux_writepage() by
    moving the code that handles locking/obtaining the credential structure,
    and unlocking the vcache/releasing the credential structure into their
    own functions, afs_linux_begin_writeback() and afs_linux_end_writeback().
    
    As a precaution, set the pointer to the creds to NULL after freeing it.
    
    There are no functional changes other than setting *acredp = NULL after
    the free.
    
    Reviewed-on: https://gerrit.openafs.org/16436
    Tested-by: BuildBot <build...@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmef...@sinenomine.net>
    Reviewed-by: Andrew Deason <adea...@sinenomine.net>
    (cherry picked from commit eb0bd53b8d03d764861a45cf91faeecda415f5d7)
    
    Change-Id: I7b78fd3d37c3fb53ca03f27c7dbc360f69c24a20
    Reviewed-on: https://gerrit.openafs.org/16499
    Reviewed-by: Mark Vitale <mvit...@sinenomine.net>
    Reviewed-by: Andrew Deason <adea...@sinenomine.net>
    Reviewed-by: Michael Meffie <mmef...@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <ka...@mit.edu>
    Tested-by: BuildBot <build...@rampaginggeek.com>

 src/afs/LINUX/osi_vnodeops.c | 88 ++++++++++++++++++++++++++++----------------
 1 file changed, 57 insertions(+), 31 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to