]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ntfs: clean up target name conversion for WSL symlinks
authorHyunchul Lee <hyc.lee@gmail.com>
Sun, 14 Jun 2026 23:49:56 +0000 (08:49 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 15 Jun 2026 10:39:41 +0000 (19:39 +0900)
commit7266767f67e0fbf343b4ce67cb437fe4024fc55f
treefd26ac9efbee52f2d86c38871cfbfbf538e25233
parent115446b06fb725ba04e0f2ae5174029d2c60cad6
ntfs: clean up target name conversion for WSL symlinks

WSL symlink target names are stored as narrow NLS/UTF-8 strings on
disk. Converting the target name to Unicode in ntfs_symlink and
converting it back to NLS in ntfs_reparse_set_wsl_symlink is
redundant.

Remove this conversion and pass the symname directly to the reparse
data setter.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/ntfs/namei.c
fs/ntfs/reparse.c
fs/ntfs/reparse.h