OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-229-g0c0280e

Gerrit Code Review gerrit@openafs.org
Fri, 27 Jun 2025 13:41:27 -0400


The following commit has been merged in the master branch:
commit 0c0280ed1324252c487409f0db9a8e215575fef4
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Jun 26 10:08:49 2025 -0600

    linux: Make iops mkdir return a struct dentry *
    
    The Linux 6.15 commit:
    'Change inode_operations.mkdir to return struct dentry *' (88d5baf69082)
    changed the signature for the return value for mkdir member of the
    inope_operations structure.
    
    The new return value for mkdir needs to be as follows:
    
        NULL if the directory was created and no other dentry was used
        ERR_PTR() if an error occured
        non-NULL pointer to a different dentry was used.
    
    OpenAFS does not use a different dentry, so returning NULL or ERR_PTR
    is sufficient.
    
    Introduce a new autoconf check to determine if the inode_ops.mkdir needs
    to return a pointer to a dentry.
    
    Update afs_linux_mkdir to use ERR_PTR() on the return value.
    
    Change-Id: I3ee3ca4ae515dcfad4075903dfcb3a37cef816f6
    Reviewed-on: https://gerrit.openafs.org/16373
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>

 src/afs/LINUX/osi_vnodeops.c | 12 ++++++++++--
 src/cf/linux-kernel-sig.m4   |  9 +++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository