diff options
| author | 2024-11-05 11:33:54 +0100 | |
|---|---|---|
| committer | 2024-11-13 12:56:48 -0500 | |
| commit | d5e9836e13a53ef36af702d87ab20d1a126b0fb8 (patch) | |
| tree | 7ed4739eaaecfed91d2317fba6e7426ae0caba7e /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | ext4: annotate struct fname with __counted_by() (diff) | |
| download | wireguard-linux-d5e9836e13a53ef36af702d87ab20d1a126b0fb8.tar.xz wireguard-linux-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 <jack@suse.cz>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20241105103353.11590-2-thorsten.blum@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
