Skip to content

Commit 29aaf48

Browse files
haryvensmfrench
authored andcommitted
smb/client: add NT_STATUS_VARIABLE_NOT_FOUND
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>
1 parent ac635d6 commit 29aaf48

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

fs/smb/client/nterr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ const struct nt_err_code_struct nt_errs[] = {
346346
{"NT_STATUS_STACK_OVERFLOW", NT_STATUS_STACK_OVERFLOW},
347347
{"NT_STATUS_NO_SUCH_PACKAGE", NT_STATUS_NO_SUCH_PACKAGE},
348348
{"NT_STATUS_BAD_FUNCTION_TABLE", NT_STATUS_BAD_FUNCTION_TABLE},
349+
{"NT_STATUS_VARIABLE_NOT_FOUND", NT_STATUS_VARIABLE_NOT_FOUND},
349350
{"NT_STATUS_DIRECTORY_NOT_EMPTY", NT_STATUS_DIRECTORY_NOT_EMPTY},
350351
{"NT_STATUS_FILE_CORRUPT_ERROR", NT_STATUS_FILE_CORRUPT_ERROR},
351352
{"NT_STATUS_NOT_A_DIRECTORY", NT_STATUS_NOT_A_DIRECTORY},

fs/smb/client/nterr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ extern const struct nt_err_code_struct nt_errs[];
301301
#define NT_STATUS_STACK_OVERFLOW (0xC0000000 | 0x00fd)
302302
#define NT_STATUS_NO_SUCH_PACKAGE (0xC0000000 | 0x00fe)
303303
#define NT_STATUS_BAD_FUNCTION_TABLE (0xC0000000 | 0x00ff)
304+
#define NT_STATUS_VARIABLE_NOT_FOUND (0xC0000000 | 0x0100)
304305
#define NT_STATUS_DIRECTORY_NOT_EMPTY (0xC0000000 | 0x0101)
305306
#define NT_STATUS_FILE_CORRUPT_ERROR (0xC0000000 | 0x0102)
306307
#define NT_STATUS_NOT_A_DIRECTORY (0xC0000000 | 0x0103)

fs/smb/client/smb1maperror.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ static const struct {
391391
ERRHRD, ERRgeneral, NT_STATUS_STACK_OVERFLOW}, {
392392
ERRHRD, ERRgeneral, NT_STATUS_NO_SUCH_PACKAGE}, {
393393
ERRHRD, ERRgeneral, NT_STATUS_BAD_FUNCTION_TABLE}, {
394-
ERRDOS, 203, 0xc0000100}, {
394+
ERRDOS, 203, NT_STATUS_VARIABLE_NOT_FOUND}, {
395395
ERRDOS, 145, NT_STATUS_DIRECTORY_NOT_EMPTY}, {
396396
ERRHRD, ERRgeneral, NT_STATUS_FILE_CORRUPT_ERROR}, {
397397
ERRDOS, 267, NT_STATUS_NOT_A_DIRECTORY}, {

0 commit comments

Comments
 (0)