Skip to content

Commit 669c3ee

Browse files
haryvensmfrench
authored andcommitted
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 <hehuiwen@kylinos.cn> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent e3ac635 commit 669c3ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/smb/client/smberr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
limit to be exceeded. */
9696
#define ErrNotALink 0x201 /* A link operation was performed on a
9797
pathname that was not a link. */
98+
#define ERRnetlogonNotStarted 2455
9899

99100
/* Below errors are used internally (do not come over the wire) for passthrough
100101
from STATUS codes to POSIX only */
@@ -167,5 +168,4 @@
167168
#define ERRbadclient 2240 /* can not logon from this client */
168169
#define ERRbadLogonTime 2241 /* logon hours do not allow this */
169170
#define ERRpasswordExpired 2242
170-
#define ERRnetlogonNotStarted 2455
171171
#define ERRnosupport 0xFFFF

0 commit comments

Comments
 (0)