summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorHuiwen He <hehuiwen@kylinos.cn>2026-04-02 17:18:30 +0300
committerSteve French <stfrench@microsoft.com>2026-04-06 03:58:40 +0300
commit772d5920c3d417fc4ba44c0b6fb61ca4f19f5809 (patch)
treec4168089198a1536963a7596d4d134b81daad48b /scripts/basic
parentc825f6b7432a11a801feb5f5783765cf31f2c3ff (diff)
downloadlinux-772d5920c3d417fc4ba44c0b6fb61ca4f19f5809.tar.xz
smb/client: refactor ntstatus_to_dos() to return mapping entry
Refactor ntstatus_to_dos() to return a pointer to the mapping entry instead of using output parameters. This allows callers to access all fields of the entry directly. In map_smb_to_linux_error(), integrate the printing logic directly to avoid redundant lookups previously performed by cifs_print_status(), which is now removed. Signed-off-by: Huiwen He <hehuiwen@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions