diff options
| author | Huiwen He <hehuiwen@kylinos.cn> | 2026-04-02 14:18:29 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-05 19:58:40 -0500 |
| commit | c825f6b7432a11a801feb5f5783765cf31f2c3ff (patch) | |
| tree | e38a8f138efe1ca7b22c63b8a588e9787f70bff3 /drivers/telephony/git@git.tavy.me:linux.git | |
| parent | 415c5b8c9a41e3fc40e0e110c8fadf26c51df5c5 (diff) | |
smb/client: replace nt_errs with ntstatus_to_dos_map
The ntstatus_to_dos_map[] array now contains the NT error strings,
making the nt_errs[] array redundant.
Introduce `struct ntstatus_to_dos_err` instead of an anonymous struct.
This allows cifs_print_status() to look up error strings directly
from a single table.
Remove nterr.c, as nt_errs[] was its only functional content.
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 'drivers/telephony/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
