aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2022-05-10 01:29:19 +0000
committerakpm <[email protected]>2022-05-10 01:29:19 +0000
commitfcb7aedd2e90c4ad43f7f01827014df8c6f034a5 (patch)
treeb77b3b6303bd2074a0e1e75a6aaa96168b3a6d11 /lib/string_helpers.c
parentinitramfs: refactor do_header() cpio magic checks (diff)
downloadkernel-fcb7aedd2e90c4ad43f7f01827014df8c6f034a5.tar.gz
kernel-fcb7aedd2e90c4ad43f7f01827014df8c6f034a5.zip
initramfs: make dir_entry.name a flexible array member
dir_entry.name is currently allocated via a separate kstrdup(). Change it to a flexible array member and allocate it along with struct dir_entry. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Disseldorp <[email protected]> Acked-by: Christian Brauner <[email protected]> Cc: Al Viro <[email protected]> Cc: Martin Wilck <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions