]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
struct dentry: make ->d_u anonymous
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 28 Jan 2026 03:51:37 +0000 (22:51 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 Apr 2026 07:47:31 +0000 (03:47 -0400)
commit2420067cecacb1d1bf6dc39294d0c9f04066ff98
treeba73e8c58681be794242aa4abc648e70c53e10c4
parent408d8af01f3a4d666620029a85e741906ff96f47
struct dentry: make ->d_u anonymous

Making ->d_rcu and (then) ->d_child overlapping dates back to
2006; anon unions support had been added to gcc only in 4.6
(2011) and the minimal gcc version hadn't been bumped to that
until 4.19 (2018).

These days there's no reason not to keep that union named.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/mds_client.c
fs/dcache.c
fs/inode.c
fs/nfs/dir.c
fs/nfs/getroot.c
include/linux/dcache.h