diff options
author | David Disseldorp <ddiss@suse.de> | 2025-08-19 13:05:47 +1000 |
---|---|---|
committer | Nathan Chancellor <nathan@kernel.org> | 2025-08-20 16:02:56 -0700 |
commit | 348ff9e3c1cf1a4124be1c94937dfc131bf6be29 (patch) | |
tree | 5dbb07a60e939e2c80bbe08f60c723c88c295700 /rust/helpers/bitmap.c | |
parent | 97169cd6d95b338f2dbf5d3154b7d2233fce7d8a (diff) |
gen_init_cpio: avoid duplicate strlen calls
We determine the filename length for the cpio header, so shouldn't
recalculate it when writing out the filename.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250819032607.28727-5-ddiss@suse.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions