diff options
| author | David Disseldorp <[email protected]> | 2022-05-10 01:29:19 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-10 01:29:19 +0000 |
| commit | fcb7aedd2e90c4ad43f7f01827014df8c6f034a5 (patch) | |
| tree | b77b3b6303bd2074a0e1e75a6aaa96168b3a6d11 /lib/string_helpers.c | |
| parent | initramfs: refactor do_header() cpio magic checks (diff) | |
| download | kernel-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
