smb/client: update SMB1 maperror
Subsystems (2)
cover smb/client: update SMB1 maperror
From: ChenXiaoSong <[email protected]>
My dear team member, Huiwen He, added some NT error code macro definitions and updated some arrays of SMB1 maperror. He will also update the relevant code in the userspace Samba repository.
This is a preparation to improve the search speed of the SMB1 maperror. Huiwen He and I will soon complete the patches of improving the search speed of the SMB1 maperror (I have already sent the first version).
Huiwen He (17):
smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipe smb/client: add NT_STATUS_OS2_INVALID_LEVEL smb/client: rename ERRinvlevel to ERRunknownlevel smb/client: add NT_STATUS_VARIABLE_NOT_FOUND smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT smb/client: add NT_STATUS_VOLUME_DISMOUNTED smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT smb/client: add NT_STATUS_ENCRYPTION_FAILED smb/client: add NT_STATUS_DECRYPTION_FAILED smb/client: add NT_STATUS_RANGE_NOT_FOUND smb/client: add NT_STATUS_NO_RECOVERY_POLICY smb/client: add NT_STATUS_NO_EFS
smb/client: add NT_STATUS_WRONG_EFS
smb/client: add NT_STATUS_NO_USER_KEYS smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED smb/client: remove some literal NT error codes from
ntstatus_to_dos_map
smb/client: remove useless comment in mapping_table_ERRSRV
fs/smb/client/nterr.c | 15 ++++++++++++ fs/smb/client/nterr.h | 13 +++++++++++ fs/smb/client/smb1maperror.c | 45 ++++++++++++------------------------ fs/smb/client/smberr.h | 2 +- 4 files changed, 44 insertions(+), 31 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/17 smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipe
From: Huiwen He <[email protected]>
See MS-CIFS 2.2.2.4 STATUS_INVALID_INFO_CLASS.
--- fs/smb/client/smb1maperror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/smb/client/smb1maperror.c +1 -1
@@ -119,7 +119,7 @@ static const struct { { ERRDOS, ERRgeneral, NT_STATUS_UNSUCCESSFUL}, { ERRDOS, ERRbadfunc, NT_STATUS_NOT_IMPLEMENTED}, { - ERRDOS, ERRinvlevel, NT_STATUS_INVALID_INFO_CLASS}, { + ERRDOS, ERRbadpipe, NT_STATUS_INVALID_INFO_CLASS}, { ERRDOS, 24, NT_STATUS_INFO_LENGTH_MISMATCH}, { ERRHRD, ERRgeneral, NT_STATUS_ACCESS_VIOLATION}, { ERRHRD, ERRgeneral, NT_STATUS_IN_PAGE_ERROR}, {
Signature · 1 line
2.43.0
PATCH 2/17 smb/client: add NT_STATUS_OS2_INVALID_LEVEL
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-CIFS 2.2.2.4 STATUS_OS2_INVALID_LEVEL.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -684,5 +684,6 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_NO_SUCH_JOB", NT_STATUS_NO_SUCH_JOB}, {"NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP", NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP}, + {"NT_STATUS_OS2_INVALID_LEVEL", NT_STATUS_OS2_INVALID_LEVEL}, {NULL, 0} };
fs/smb/client/nterr.h +1 -0
@@ -552,5 +552,6 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000) +#define NT_STATUS_OS2_INVALID_LEVEL 0x007c0001#endif /* _NTERR_H */
fs/smb/client/smb1maperror.c +1 -1
@@ -669,7 +669,7 @@ static const struct { ERRDOS, ERRnoaccess, 0xc0000290}, { ERRDOS, ERRbadfunc, 0xc000029c}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, { - ERRDOS, ERRinvlevel, 0x007c0001}, { + ERRDOS, ERRinvlevel, NT_STATUS_OS2_INVALID_LEVEL}, { 0, 0, 0 } };
Signature · 1 line
2.43.0
PATCH 3/17 smb/client: rename ERRinvlevel to ERRunknownlevel
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-CIFS 2.2.2.4 ERRunknownlevel. Keep the name consistent with the documentation.
--- fs/smb/client/smb1maperror.c | 4 ++-- fs/smb/client/smberr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
fs/smb/client/smb1maperror.c +2 -2
@@ -47,7 +47,7 @@ static const struct smb_to_posix_error mapping_table_ERRDOS[] = { {ERRinvparm, -EINVAL}, {ERRdiskfull, -ENOSPC}, {ERRinvname, -ENOENT}, - {ERRinvlevel, -EOPNOTSUPP}, + {ERRunknownlevel, -EOPNOTSUPP}, {ERRdirnotempty, -ENOTEMPTY}, {ERRnotlocked, -ENOLCK}, {ERRcancelviolation, -ENOLCK},
@@ -669,7 +669,7 @@ static const struct { ERRDOS, ERRnoaccess, 0xc0000290}, { ERRDOS, ERRbadfunc, 0xc000029c}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, { - ERRDOS, ERRinvlevel, NT_STATUS_OS2_INVALID_LEVEL}, { + ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, { 0, 0, 0 } };
fs/smb/client/smberr.h +1 -1
@@ -80,7 +80,7 @@#define ERRinvparm 87#define ERRdiskfull 112#define ERRinvname 123 -#define ERRinvlevel 124 +#define ERRunknownlevel 124#define ERRdirnotempty 145#define ERRnotlocked 158#define ERRcancelviolation 173
Signature · 1 line
2.43.0
PATCH 4/17 smb/client: add NT_STATUS_VARIABLE_NOT_FOUND
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_VARIABLE_NOT_FOUND.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -346,6 +346,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_STACK_OVERFLOW", NT_STATUS_STACK_OVERFLOW}, {"NT_STATUS_NO_SUCH_PACKAGE", NT_STATUS_NO_SUCH_PACKAGE}, {"NT_STATUS_BAD_FUNCTION_TABLE", NT_STATUS_BAD_FUNCTION_TABLE}, + {"NT_STATUS_VARIABLE_NOT_FOUND", NT_STATUS_VARIABLE_NOT_FOUND}, {"NT_STATUS_DIRECTORY_NOT_EMPTY", NT_STATUS_DIRECTORY_NOT_EMPTY}, {"NT_STATUS_FILE_CORRUPT_ERROR", NT_STATUS_FILE_CORRUPT_ERROR}, {"NT_STATUS_NOT_A_DIRECTORY", NT_STATUS_NOT_A_DIRECTORY},
fs/smb/client/nterr.h +1 -0
@@ -301,6 +301,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_STACK_OVERFLOW (0xC0000000 | 0x00fd)#define NT_STATUS_NO_SUCH_PACKAGE (0xC0000000 | 0x00fe)#define NT_STATUS_BAD_FUNCTION_TABLE (0xC0000000 | 0x00ff) +#define NT_STATUS_VARIABLE_NOT_FOUND (0xC0000000 | 0x0100)#define NT_STATUS_DIRECTORY_NOT_EMPTY (0xC0000000 | 0x0101)#define NT_STATUS_FILE_CORRUPT_ERROR (0xC0000000 | 0x0102)#define NT_STATUS_NOT_A_DIRECTORY (0xC0000000 | 0x0103)
fs/smb/client/smb1maperror.c +1 -1
@@ -391,7 +391,7 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_STACK_OVERFLOW}, { ERRHRD, ERRgeneral, NT_STATUS_NO_SUCH_PACKAGE}, { ERRHRD, ERRgeneral, NT_STATUS_BAD_FUNCTION_TABLE}, { - ERRDOS, 203, 0xc0000100}, { + ERRDOS, 203, NT_STATUS_VARIABLE_NOT_FOUND}, { ERRDOS, 145, NT_STATUS_DIRECTORY_NOT_EMPTY}, { ERRHRD, ERRgeneral, NT_STATUS_FILE_CORRUPT_ERROR}, { ERRDOS, 267, NT_STATUS_NOT_A_DIRECTORY}, {
Signature · 1 line
2.43.0
PATCH 5/17 smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT.
--- fs/smb/client/nterr.c | 2 ++ fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +2 -0
@@ -487,6 +487,8 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_DISK_RESET_FAILED", NT_STATUS_DISK_RESET_FAILED}, {"NT_STATUS_SHARED_IRQ_BUSY", NT_STATUS_SHARED_IRQ_BUSY}, {"NT_STATUS_FT_ORPHANING", NT_STATUS_FT_ORPHANING}, + {"NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT", + NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT}, {"NT_STATUS_PARTITION_FAILURE", NT_STATUS_PARTITION_FAILURE}, {"NT_STATUS_INVALID_BLOCK_LENGTH", NT_STATUS_INVALID_BLOCK_LENGTH}, {"NT_STATUS_DEVICE_NOT_PARTITIONED",
fs/smb/client/nterr.h +1 -0
@@ -411,6 +411,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_DISK_RESET_FAILED (0xC0000000 | 0x016b)#define NT_STATUS_SHARED_IRQ_BUSY (0xC0000000 | 0x016c)#define NT_STATUS_FT_ORPHANING (0xC0000000 | 0x016d) +#define NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT (0xC0000000 | 0x016e)#define NT_STATUS_PARTITION_FAILURE (0xC0000000 | 0x0172)#define NT_STATUS_INVALID_BLOCK_LENGTH (0xC0000000 | 0x0173)#define NT_STATUS_DEVICE_NOT_PARTITIONED (0xC0000000 | 0x0174)
fs/smb/client/smb1maperror.c +1 -1
@@ -501,7 +501,7 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_DISK_RESET_FAILED}, { ERRHRD, ERRgeneral, NT_STATUS_SHARED_IRQ_BUSY}, { ERRHRD, ERRgeneral, NT_STATUS_FT_ORPHANING}, { - ERRHRD, ERRgeneral, 0xc000016e}, { + ERRHRD, ERRgeneral, NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT}, { ERRHRD, ERRgeneral, 0xc000016f}, { ERRHRD, ERRgeneral, 0xc0000170}, { ERRHRD, ERRgeneral, 0xc0000171}, {
Signature · 1 line
2.43.0
PATCH 6/17 smb/client: add NT_STATUS_VOLUME_DISMOUNTED
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_VOLUME_DISMOUNTED.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -679,6 +679,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_QUOTA_LIST_INCONSISTENT" , NT_STATUS_QUOTA_LIST_INCONSISTENT}, {"NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE}, + {"NT_STATUS_VOLUME_DISMOUNTED", NT_STATUS_VOLUME_DISMOUNTED}, {"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -550,6 +550,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_TOO_MANY_LINKS (0xC0000000 | 0x0265)#define NT_STATUS_QUOTA_LIST_INCONSISTENT (0xC0000000 | 0x0266)#define NT_STATUS_FILE_IS_OFFLINE (0xC0000000 | 0x0267) +#define NT_STATUS_VOLUME_DISMOUNTED (0xC0000000 | 0x026e)#define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */
fs/smb/client/smb1maperror.c +1 -1
@@ -658,7 +658,7 @@ static const struct { ERRDOS, ErrTooManyLinks, NT_STATUS_TOO_MANY_LINKS}, { ERRHRD, ERRgeneral, NT_STATUS_QUOTA_LIST_INCONSISTENT}, { ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, { - ERRDOS, 21, 0xc000026e}, { + ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, { ERRDOS, 161, 0xc0000281}, { ERRDOS, ERRnoaccess, 0xc000028a}, { ERRDOS, ERRnoaccess, 0xc000028b}, {
Signature · 1 line
2.43.0
PATCH 7/17 smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_DIRECTORY_IS_A_REPARSE_POINT.
--- fs/smb/client/nterr.c | 2 ++ fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +2 -0
@@ -681,6 +681,8 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE}, {"NT_STATUS_VOLUME_DISMOUNTED", NT_STATUS_VOLUME_DISMOUNTED}, {"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT}, + {"NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT", + NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -552,6 +552,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_FILE_IS_OFFLINE (0xC0000000 | 0x0267)#define NT_STATUS_VOLUME_DISMOUNTED (0xC0000000 | 0x026e)#define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275) +#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -659,7 +659,7 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_QUOTA_LIST_INCONSISTENT}, { ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, { ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, { - ERRDOS, 161, 0xc0000281}, { + ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, { ERRDOS, ERRnoaccess, 0xc000028a}, { ERRDOS, ERRnoaccess, 0xc000028b}, { ERRHRD, ERRgeneral, 0xc000028c}, {
Signature · 1 line
2.43.0
PATCH 8/17 smb/client: add NT_STATUS_ENCRYPTION_FAILED
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_ENCRYPTION_FAILED.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -683,6 +683,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT}, {"NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT", NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, + {"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -553,6 +553,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_VOLUME_DISMOUNTED (0xC0000000 | 0x026e)#define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275)#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281) +#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -660,7 +660,7 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_FILE_IS_OFFLINE}, { ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, { ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, { - ERRDOS, ERRnoaccess, 0xc000028a}, { + ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, { ERRDOS, ERRnoaccess, 0xc000028b}, { ERRHRD, ERRgeneral, 0xc000028c}, { ERRDOS, ERRnoaccess, 0xc000028d}, {
Signature · 1 line
2.43.0
PATCH 9/17 smb/client: add NT_STATUS_DECRYPTION_FAILED
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_DECRYPTION_FAILED.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -684,6 +684,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT" , NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, {"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED}, + {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -554,6 +554,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_NOT_A_REPARSE_POINT (0xC0000000 | 0x0275)#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281)#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a) +#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -661,7 +661,7 @@ static const struct { ERRDOS, 21, NT_STATUS_VOLUME_DISMOUNTED}, { ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, { ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, { - ERRDOS, ERRnoaccess, 0xc000028b}, { + ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, { ERRHRD, ERRgeneral, 0xc000028c}, { ERRDOS, ERRnoaccess, 0xc000028d}, { ERRDOS, ERRnoaccess, 0xc000028e}, {
Signature · 1 line
2.43.0
PATCH 10/17 smb/client: add NT_STATUS_RANGE_NOT_FOUND
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_RANGE_NOT_FOUND.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -685,6 +685,7 @@ const struct nt_err_code_struct nt_errs[] = { NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, {"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED}, {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED}, + {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -555,6 +555,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT (0xC0000000 | 0x0281)#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b) +#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -662,7 +662,7 @@ static const struct { ERRDOS, 161, NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT}, { ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, { ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, { - ERRHRD, ERRgeneral, 0xc000028c}, { + ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, { ERRDOS, ERRnoaccess, 0xc000028d}, { ERRDOS, ERRnoaccess, 0xc000028e}, { ERRDOS, ERRnoaccess, 0xc000028f}, {
Signature · 1 line
2.43.0
PATCH 11/17 smb/client: add NT_STATUS_NO_RECOVERY_POLICY
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_NO_RECOVERY_POLICY.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -686,6 +686,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED}, {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED}, {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND}, + {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -556,6 +556,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c) +#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -663,7 +663,7 @@ static const struct { ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, { ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, { ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, { - ERRDOS, ERRnoaccess, 0xc000028d}, { + ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, { ERRDOS, ERRnoaccess, 0xc000028e}, { ERRDOS, ERRnoaccess, 0xc000028f}, { ERRDOS, ERRnoaccess, 0xc0000290}, {
Signature · 1 line
2.43.0
PATCH 12/17 smb/client: add NT_STATUS_NO_EFS
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_NO_EFS.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -687,6 +687,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED}, {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND}, {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY}, + {"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -557,6 +557,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d) +#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -664,7 +664,7 @@ static const struct { ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, { ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, { ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, { - ERRDOS, ERRnoaccess, 0xc000028e}, { + ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, { ERRDOS, ERRnoaccess, 0xc000028f}, { ERRDOS, ERRnoaccess, 0xc0000290}, { ERRDOS, ERRbadfunc, 0xc000029c}, {
Signature · 1 line
2.43.0
PATCH 13/17 smb/client: add NT_STATUS_WRONG_EFS
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_WRONG_EFS.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -688,6 +688,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND}, {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY}, {"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS}, + {"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -558,6 +558,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e) +#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -665,7 +665,7 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, { ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, { ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, { - ERRDOS, ERRnoaccess, 0xc000028f}, { + ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, { ERRDOS, ERRnoaccess, 0xc0000290}, { ERRDOS, ERRbadfunc, 0xc000029c}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
Signature · 1 line
2.43.0
PATCH 14/17 smb/client: add NT_STATUS_NO_USER_KEYS
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_NO_USER_KEYS.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -689,6 +689,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY}, {"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS}, {"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS}, + {"NT_STATUS_NO_USER_KEYS", NT_STATUS_NO_USER_KEYS}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -559,6 +559,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f) +#define NT_STATUS_NO_USER_KEYS (0xC0000000 | 0x0290)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -666,7 +666,7 @@ static const struct { ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, { ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, { ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, { - ERRDOS, ERRnoaccess, 0xc0000290}, { + ERRDOS, ERRnoaccess, NT_STATUS_NO_USER_KEYS}, { ERRDOS, ERRbadfunc, 0xc000029c}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, { ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
Signature · 1 line
2.43.0
PATCH 15/17 smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED
In reply to [email protected]From: Huiwen He <[email protected]>
See MS-ERREf 2.3.1 STATUS_VOLUME_NOT_UPGRADED.
--- fs/smb/client/nterr.c | 1 + fs/smb/client/nterr.h | 1 + fs/smb/client/smb1maperror.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
fs/smb/client/nterr.c +1 -0
@@ -690,6 +690,7 @@ const struct nt_err_code_struct nt_errs[] = { {"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS}, {"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS}, {"NT_STATUS_NO_USER_KEYS", NT_STATUS_NO_USER_KEYS}, + {"NT_STATUS_VOLUME_NOT_UPGRADED", NT_STATUS_VOLUME_NOT_UPGRADED}, {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
fs/smb/client/nterr.h +1 -0
@@ -560,6 +560,7 @@ extern const struct nt_err_code_struct nt_errs[];#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)#define NT_STATUS_NO_USER_KEYS (0xC0000000 | 0x0290) +#define NT_STATUS_VOLUME_NOT_UPGRADED (0xC0000000 | 0x029c)#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)/* scheduler */ #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
fs/smb/client/smb1maperror.c +1 -1
@@ -667,7 +667,7 @@ static const struct { ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, { ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, { ERRDOS, ERRnoaccess, NT_STATUS_NO_USER_KEYS}, { - ERRDOS, ERRbadfunc, 0xc000029c}, { + ERRDOS, ERRbadfunc, NT_STATUS_VOLUME_NOT_UPGRADED}, { ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, { ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, { 0, 0, 0 }
Signature · 1 line
2.43.0
PATCH 16/17 smb/client: remove some literal NT error codes from ntstatus_to_dos_map
In reply to [email protected]From: Huiwen He <[email protected]>
When an NT error code is not in ntstatus_to_dos_map, ntstatus_to_dos() will return the default ERRHRD and ERRGENERAL.
--- fs/smb/client/smb1maperror.c | 11 ----------- 1 file changed, 11 deletions(-)
fs/smb/client/smb1maperror.c +0 -11
@@ -502,9 +502,6 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_SHARED_IRQ_BUSY}, { ERRHRD, ERRgeneral, NT_STATUS_FT_ORPHANING}, { ERRHRD, ERRgeneral, NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT}, { - ERRHRD, ERRgeneral, 0xc000016f}, { - ERRHRD, ERRgeneral, 0xc0000170}, { - ERRHRD, ERRgeneral, 0xc0000171}, { ERRHRD, ERRgeneral, NT_STATUS_PARTITION_FAILURE}, { ERRHRD, ERRgeneral, NT_STATUS_INVALID_BLOCK_LENGTH}, { ERRHRD, ERRgeneral, NT_STATUS_DEVICE_NOT_PARTITIONED}, {
@@ -512,7 +509,6 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_UNABLE_TO_UNLOAD_MEDIA}, { ERRHRD, ERRgeneral, NT_STATUS_EOM_OVERFLOW}, { ERRHRD, ERRgeneral, NT_STATUS_NO_MEDIA}, { - ERRHRD, ERRgeneral, 0xc0000179}, { ERRHRD, ERRgeneral, NT_STATUS_NO_SUCH_MEMBER}, { ERRHRD, ERRgeneral, NT_STATUS_INVALID_MEMBER}, { ERRHRD, ERRgeneral, NT_STATUS_KEY_DELETED}, {
@@ -628,12 +624,6 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_LOGIN_TIME_RESTRICTION}, { ERRHRD, ERRgeneral, NT_STATUS_LOGIN_WKSTA_RESTRICTION}, { ERRDOS, 193, NT_STATUS_IMAGE_MP_UP_MISMATCH}, { - ERRHRD, ERRgeneral, 0xc000024a}, { - ERRHRD, ERRgeneral, 0xc000024b}, { - ERRHRD, ERRgeneral, 0xc000024c}, { - ERRHRD, ERRgeneral, 0xc000024d}, { - ERRHRD, ERRgeneral, 0xc000024e}, { - ERRHRD, ERRgeneral, 0xc000024f}, { ERRHRD, ERRgeneral, NT_STATUS_INSUFFICIENT_LOGON_INFO}, { ERRHRD, ERRgeneral, NT_STATUS_BAD_DLL_ENTRYPOINT}, { ERRHRD, ERRgeneral, NT_STATUS_BAD_SERVICE_ENTRYPOINT}, {
@@ -647,7 +637,6 @@ static const struct { ERRHRD, ERRgeneral, NT_STATUS_PWD_TOO_SHORT}, { ERRHRD, ERRgeneral, NT_STATUS_PWD_TOO_RECENT}, { ERRHRD, ERRgeneral, NT_STATUS_PWD_HISTORY_CONFLICT}, { - ERRHRD, ERRgeneral, 0xc000025d}, { ERRHRD, ERRgeneral, NT_STATUS_PLUGPLAY_NO_DEVICE}, { ERRHRD, ERRgeneral, NT_STATUS_UNSUPPORTED_COMPRESSION}, { ERRHRD, ERRgeneral, NT_STATUS_INVALID_HW_PROFILE}, {
Signature · 1 line
2.43.0
PATCH 17/17 smb/client: remove useless comment in mapping_table_ERRSRV
In reply to [email protected]From: Huiwen He <[email protected]>
These array elements have already been defined.
--- fs/smb/client/smb1maperror.c | 4 ---- 1 file changed, 4 deletions(-)
fs/smb/client/smb1maperror.c +0 -4
@@ -94,10 +94,6 @@ static const struct smb_to_posix_error mapping_table_ERRSRV[] = { {ERRusestd, -EIO}, {ERR_NOTIFY_ENUM_DIR, -ENOBUFS}, {ERRnoSuchUser, -EACCES}, -/* {ERRaccountexpired, -EACCES}, -{ERRbadclient, -EACCES}, -{ERRbadLogonTime, -EACCES}, -{ERRpasswordExpired, -EACCES},*/ {ERRaccountexpired, -EKEYEXPIRED}, {ERRbadclient, -EACCES}, {ERRbadLogonTime, -EACCES},
Signature · 1 line
2.43.0
tentatively merged into cifs-2.6.git for-next pending more review and testing
Quoted 40 lines · On Wed, Jan 21, 2026 at 5:50 AM <[email protected]> wrote:
From: ChenXiaoSong <[email protected]>
My dear team member, Huiwen He, added some NT error code macro definitions and updated some arrays of SMB1 maperror. He will also update the relevant code in the userspace Samba repository.
This is a preparation to improve the search speed of the SMB1 maperror. Huiwen He and I will soon complete the patches of improving the search speed of the SMB1 maperror (I have already sent the first version).
Huiwen He (17):
smb/client: mapNT_STATUS_INVALID_INFO_CLASSto ERRbadpipe smb/client: addNT_STATUS_OS2_INVALID_LEVELsmb/client: rename ERRinvlevel to ERRunknownlevel smb/client: addNT_STATUS_VARIABLE_NOT_FOUNDsmb/client: addNT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPTsmb/client: addNT_STATUS_VOLUME_DISMOUNTEDsmb/client: addNT_STATUS_DIRECTORY_IS_A_REPARSE_POINTsmb/client: addNT_STATUS_ENCRYPTION_FAILEDsmb/client: addNT_STATUS_DECRYPTION_FAILEDsmb/client: addNT_STATUS_RANGE_NOT_FOUNDsmb/client: addNT_STATUS_NO_RECOVERY_POLICYsmb/client: addNT_STATUS_NO_EFS
smb/client: addNT_STATUS_WRONG_EFS
smb/client: addNT_STATUS_NO_USER_KEYSsmb/client: addNT_STATUS_VOLUME_NOT_UPGRADEDsmb/client: remove some literal NT error codes from
ntstatus_to_dos_map
smb/client: remove useless comment inmapping_table_ERRSRVfs/smb/client/nterr.c | 15 ++++++++++++ fs/smb/client/nterr.h | 13 +++++++++++ fs/smb/client/smb1maperror.c | 45 ++++++++++++------------------------ fs/smb/client/smberr.h | 2 +- 4 files changed, 44 insertions(+), 31 deletions(-)--
2.43.0
Signature · 3 lines
Thanks, Steve