]> www.infradead.org Git - users/willy/pagecache.git/commit
make sure that DNAME_INLINE_LEN is a multiple of word size
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Dec 2024 00:15:58 +0000 (19:15 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 Jan 2025 22:46:05 +0000 (17:46 -0500)
commit61bc24ac974a4873e3040765e640f62fe99d6226
treee59e002852391aad4f1d4dfa409b819d12c2fa3b
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
make sure that DNAME_INLINE_LEN is a multiple of word size

... calling the number of words DNAME_INLINE_WORDS.

The next step will be to have a structure to hold inline name arrays
(both in dentry and in name_snapshot) and use that to alias the
existing arrays of unsigned char there.  That will allow both
full-structure copies and convenient word-by-word accesses.

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
include/linux/dcache.h