OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-491-gfd15792

Gerrit Code Review gerrit@openafs.org
Tue, 2 Jun 2026 14:40:11 -0400


The following commit has been merged in the master branch:
commit fd157926f08d10afe981d85654395bbf083ea7a3
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Fri May 29 09:10:52 2026 -0600

    Linux: Add comment for d_alias configure test
    
    Add a comment to the configure test for the dentry->d_u_d.d_alias to
    indicate that the dentry's d_alias member is accessed by just
    dentry->d_alias again.
    
    The Linux commit 7.1:
        'struct dentry: make ->d_u anonymous' (2420067cecacb)
    made the d_u union member within the dentry anonymous and so it is
    unnecessary to use dentry->d_u.d to access the d_alias member.
    
    Note, this commit only adds a comment, but Linux 7.1 has reverted the
    way the d_alias member of the dentry structure is accessed.
    
       Prior to 2.6.16
           dentry->d_alias
       2.6.16 through 7.0
           dentry->u_d.d_alias
       7.1
           dentry->d_alias
    
    An existing macro handles the differences on how to access d_alias
    member, so no code changes are needed.
    
    Normally we try to ensure that the newly introduced Linux behavior
    results in a successful autoconf test, so we don't depend on a test
    failing (since a test may fail for a variety of unrelated reasons).
    However, in this case, if the test fails unexpectedly we'll just use the
    wrong dentry field, which produces a very mundane and recognizable
    compiler error, so this is not risky.
    
    Change-Id: Id10b843026c5d4880440799885f40ea8e6985084
    Reviewed-on: https://gerrit.openafs.org/16808
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>

 src/cf/linux-kernel-struct.m4 | 2 ++
 1 file changed, 2 insertions(+)

-- 
OpenAFS Master Repository