diff options
| author | Huiwen He <hehuiwen@kylinos.cn> | 2026-04-02 17:18:34 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-06 03:58:40 +0300 |
| commit | 669c3eedaefa9cce6d87ccdb3864cf9bb606f325 (patch) | |
| tree | 0d6e3b9ea903f896af0593fc594db043d12ed155 | |
| parent | e3ac6352a84d9ddc39a5772796032a852033ed92 (diff) | |
| download | linux-669c3eedaefa9cce6d87ccdb3864cf9bb606f325.tar.xz | |
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>
| -rw-r--r-- | fs/smb/client/smberr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/smberr.h b/fs/smb/client/smberr.h index 6fb63f9e9a95..5cdd958aaa35 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 |
