]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
smb/client: add NT_STATUS_VARIABLE_NOT_FOUND
authorHuiwen He <hehuiwen@kylinos.cn>
Wed, 21 Jan 2026 11:48:59 +0000 (19:48 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 9 Feb 2026 03:24:41 +0000 (21:24 -0600)
See MS-ERREf 2.3.1 STATUS_VARIABLE_NOT_FOUND.

Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/nterr.c
fs/smb/client/nterr.h
fs/smb/client/smb1maperror.c

index 7f29fd5a482dd7248e6b3e56403e72a4cdf70d8e..6f30bd5dcf619b5cb80ac258ca009b63f10b532a 100644 (file)
@@ -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},
index be74410da6d5052bb8e2ac26535ddcdb1ddb1cc2..e7d431d43b76484a1401cfdf8c1d117fea27d319 100644 (file)
@@ -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)
index 0735f7ed676d925946b74148f2a866ff63c0daf2..2f81c4adef8143f6354f9685844bae8f8803cc24 100644 (file)
@@ -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}, {