aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-11-05 10:33:54 +0000
committerTheodore Ts'o <[email protected]>2024-11-13 17:56:48 +0000
commitd5e9836e13a53ef36af702d87ab20d1a126b0fb8 (patch)
tree7ed4739eaaecfed91d2317fba6e7426ae0caba7e /fs/ext4/fast_commit.c
parentext4: annotate struct fname with __counted_by() (diff)
downloadkernel-d5e9836e13a53ef36af702d87ab20d1a126b0fb8.tar.gz
kernel-d5e9836e13a53ef36af702d87ab20d1a126b0fb8.zip
ext4: use struct_size() to improve ext4_htree_store_dirent()
Inline and use struct_size() to calculate the number of bytes to allocate for new_fn and remove the local variable len. Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Thorsten Blum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions