diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-01-11 16:12:58 +0300 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-01-13 05:21:27 +0300 |
| commit | 99853d9daef240a45e161d0e33487cda4810b999 (patch) | |
| tree | 381960a1a0c054316048b6c020d574d3477943a1 /include/linux/workqueue.h | |
| parent | 6ba673331340dabcff4a3ca91cc67761ba74c518 (diff) | |
| download | linux-99853d9daef240a45e161d0e33487cda4810b999.tar.xz | |
ecryptfs: Replace memcpy + NUL termination in ecryptfs_copy_filename
Use kmemdup_nul() to copy 'name' instead of using memcpy() followed by a
manual NUL termination. Remove the local return variable and the goto
label to simplify the code. No functional changes.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Tyler Hicks <code@tyhicks.com>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
