From: Huiwen He Date: Thu, 2 Apr 2026 14:18:34 +0000 (+0000) Subject: smb/client: move ERRnetlogonNotStarted to DOS error class X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=669c3eedaefa9cce6d87ccdb3864cf9bb606f325;p=thirdparty%2Flinux.git smb/client: move ERRnetlogonNotStarted to DOS error class In smb1maperror.c, ERRnetlogonNotStarted is included in the mapping_table_ERRDOS array. However, in the smberr.h header file, this macro was incorrectly placed under the ERRSRV (server) error class section. Move the macro definition to the ERRDOS section in smberr.h to maintain consistency between the error classification in the header file and its actual usage in the mapping tables. Signed-off-by: Huiwen He Reviewed-by: ChenXiaoSong Signed-off-by: Steve French --- diff --git a/fs/smb/client/smberr.h b/fs/smb/client/smberr.h index 6fb63f9e9a95a..5cdd958aaa352 100644 --- a/fs/smb/client/smberr.h +++ b/fs/smb/client/smberr.h @@ -95,6 +95,7 @@ limit to be exceeded. */ #define ErrNotALink 0x201 /* A link operation was performed on a pathname that was not a link. */ +#define ERRnetlogonNotStarted 2455 /* Below errors are used internally (do not come over the wire) for passthrough from STATUS codes to POSIX only */ @@ -167,5 +168,4 @@ #define ERRbadclient 2240 /* can not logon from this client */ #define ERRbadLogonTime 2241 /* logon hours do not allow this */ #define ERRpasswordExpired 2242 -#define ERRnetlogonNotStarted 2455 #define ERRnosupport 0xFFFF