Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

smb/client: add 4 NT error code definitions

From server/nterr.h that has been removed.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>

authored by

ChenXiaoSong and committed by
Steve French
a9adafd4 9f99caa8

+9
+5
fs/smb/client/nterr.c
··· 13 13 14 14 const struct nt_err_code_struct nt_errs[] = { 15 15 {"NT_STATUS_OK", NT_STATUS_OK}, 16 + {"NT_STATUS_PENDING", NT_STATUS_PENDING}, 16 17 {"NT_STATUS_MEDIA_CHANGED", NT_STATUS_MEDIA_CHANGED}, 17 18 {"NT_STATUS_END_OF_MEDIA", NT_STATUS_END_OF_MEDIA}, 18 19 {"NT_STATUS_MEDIA_CHECK", NT_STATUS_MEDIA_CHECK}, ··· 545 544 {"NT_STATUS_DOMAIN_TRUST_INCONSISTENT", 546 545 NT_STATUS_DOMAIN_TRUST_INCONSISTENT}, 547 546 {"NT_STATUS_FS_DRIVER_REQUIRED", NT_STATUS_FS_DRIVER_REQUIRED}, 547 + {"NT_STATUS_INVALID_LOCK_RANGE", NT_STATUS_INVALID_LOCK_RANGE}, 548 548 {"NT_STATUS_NO_USER_SESSION_KEY", NT_STATUS_NO_USER_SESSION_KEY}, 549 549 {"NT_STATUS_USER_SESSION_DELETED", NT_STATUS_USER_SESSION_DELETED}, 550 550 {"NT_STATUS_RESOURCE_LANG_NOT_FOUND", ··· 677 675 NT_STATUS_QUOTA_LIST_INCONSISTENT}, 678 676 {"NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE}, 679 677 {"NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT}, 678 + {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED}, 680 679 {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES}, 681 680 {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES}, 682 681 {"NT_STATUS_SOME_UNMAPPED", NT_STATUS_SOME_UNMAPPED}, 683 682 {"NT_STATUS_NO_SUCH_JOB", NT_STATUS_NO_SUCH_JOB}, 683 + {"NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP", 684 + NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP}, 684 685 {NULL, 0} 685 686 };
+4
fs/smb/client/nterr.h
··· 35 35 */ 36 36 37 37 #define NT_STATUS_OK 0x0000 38 + #define NT_STATUS_PENDING 0x0103 38 39 #define NT_STATUS_SOME_UNMAPPED 0x0107 39 40 #define NT_STATUS_BUFFER_OVERFLOW 0x80000005 40 41 #define NT_STATUS_NO_MORE_ENTRIES 0x8000001a ··· 452 451 #define NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT 0xC0000000 | 0x019a 453 452 #define NT_STATUS_DOMAIN_TRUST_INCONSISTENT 0xC0000000 | 0x019b 454 453 #define NT_STATUS_FS_DRIVER_REQUIRED 0xC0000000 | 0x019c 454 + #define NT_STATUS_INVALID_LOCK_RANGE 0xC0000000 | 0x01a1 455 455 #define NT_STATUS_NO_USER_SESSION_KEY 0xC0000000 | 0x0202 456 456 #define NT_STATUS_USER_SESSION_DELETED 0xC0000000 | 0x0203 457 457 #define NT_STATUS_RESOURCE_LANG_NOT_FOUND 0xC0000000 | 0x0204 ··· 549 547 #define NT_STATUS_QUOTA_LIST_INCONSISTENT 0xC0000000 | 0x0266 550 548 #define NT_STATUS_FILE_IS_OFFLINE 0xC0000000 | 0x0267 551 549 #define NT_STATUS_NOT_A_REPARSE_POINT 0xC0000000 | 0x0275 550 + #define NT_STATUS_NETWORK_SESSION_EXPIRED 0xC0000000 | 0x035c 552 551 #define NT_STATUS_NO_SUCH_JOB 0xC0000000 | 0xEDE /* scheduler */ 552 + #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP 0xC0000000 | 0x5D0000 553 553 554 554 #endif /* _NTERR_H */