The following commit has been merged in the openafs-stable-1_8_x branch:
commit 4b42b490fc1c2223a465981a59914b37773ad84a
Author: Andrew Deason <[email protected]>
Date:   Fri Jun 29 15:25:48 2018 -0500

    afs: Make afs_osi_Free(NULL) a no-op
    
    In userspace, we assume that free(NULL) does nothing, which makes
    certain cleanup code paths simpler. This may or may not be true for
    our free() abstractions that can run in the kernel (like afs_osi_Free,
    rxi_Free, etc), which is confusing. To make the higher-level free()
    abstractions more consistent, change afs_osi_Free to guarantee that
    passing a NULL pointer does nothing.
    
    Reviewed-on: https://gerrit.openafs.org/13236
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 7523397333c0f8c6a08312434968d84b8ff56306)
    
    Change-Id: Ifda1bd8c99f128fe01d38fd64dc19afee4c5158f
    Reviewed-on: https://gerrit.openafs.org/13250
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

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

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to