]> www.infradead.org Git - users/willy/pagecache.git/commit
dissolve external_name.u into separate members
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Dec 2024 01:03:33 +0000 (20:03 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 28 Jan 2025 00:17:22 +0000 (19:17 -0500)
commit95a4ccbbe596b45264af5e3a019cb920c05ccffd
treeedc7fe3d08fe713c842385ec18164cbe5e4e3b82
parent1c9be84a9074b2b91c0db6b88174145504acf0ef
dissolve external_name.u into separate members

... and document the constraints on the layout.  Kept separate from
the previous commit to keep the noise separate from actual changes.
The reason for explicit __aligned() on ->name[] rather than relying
upon the alignment of the previous field is that the previous iteration
of that commit tried to save 4 bytes on 64bit by eliminating a hole
in there, which broke the assumptions in dentry_string_cmp().
Better spell it out and avoid the temptation for the future...

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c