aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-12-10 00:35:36 +0000
committerAl Viro <[email protected]>2025-01-17 22:46:05 +0000
commit58cf9c383c5c686668082f83f7e0f3e0bd5cc2e3 (patch)
tree04c0f374f7db14b5eb5e4c4201c7886adf53ae55 /fs/ext4/fast_commit.c
parentmake sure that DNAME_INLINE_LEN is a multiple of word size (diff)
downloadkernel-58cf9c383c5c686668082f83f7e0f3e0bd5cc2e3.tar.gz
kernel-58cf9c383c5c686668082f83f7e0f3e0bd5cc2e3.zip
dcache: back inline names with a struct-wrapped array of unsigned long
... so that they can be copied with struct assignment (which generates better code) and accessed word-by-word. The type is union shortname_storage; it's a union of arrays of unsigned char and unsigned long. struct name_snapshot.inline_name turned into union shortname_storage; users (all in fs/dcache.c) adjusted. struct dentry.d_iname has some users outside of fs/dcache.c; to reduce the amount of noise in commit, it is replaced with union shortname_storage d_shortname and d_iname is turned into a macro that expands to d_shortname.string (similar to d_lock handling). That compat macro is temporary - most of the remaining instances will be taken out by debugfs series, and once that is merged and few others are taken care of this will go away. Reviewed-by: Jeff Layton <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions