diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-11-05 13:33:54 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-11-13 20:56:48 +0300 |
commit | d5e9836e13a53ef36af702d87ab20d1a126b0fb8 (patch) | |
tree | 7ed4739eaaecfed91d2317fba6e7426ae0caba7e /tools/perf/scripts/python/stackcollapse.py | |
parent | de183b2baf90f0acc1854a3998c14b8b228f9643 (diff) | |
download | linux-d5e9836e13a53ef36af702d87ab20d1a126b0fb8.tar.xz |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions