diff options
| author | 2026-04-02 14:18:30 +0000 | |
|---|---|---|
| committer | 2026-04-05 19:58:40 -0500 | |
| commit | 772d5920c3d417fc4ba44c0b6fb61ca4f19f5809 (patch) | |
| tree | c4168089198a1536963a7596d4d134b81daad48b /include/linux/hsi/ssh:/git@git.zx2c4.com | |
| parent | smb/client: replace nt_errs with ntstatus_to_dos_map (diff) | |
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 'include/linux/hsi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
