Skip to content

Commit 199e7a1

Browse files
haryvensmfrench
authored andcommitted
smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED
See MS-ERREf 2.3.1 STATUS_VOLUME_NOT_UPGRADED. 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 0bf7e53 commit 199e7a1

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
@@ -690,6 +690,7 @@ const struct nt_err_code_struct nt_errs[] = {
690690
{"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS},
691691
{"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS},
692692
{"NT_STATUS_NO_USER_KEYS", NT_STATUS_NO_USER_KEYS},
693+
{"NT_STATUS_VOLUME_NOT_UPGRADED", NT_STATUS_VOLUME_NOT_UPGRADED},
693694
{"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
694695
{"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
695696
{"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},

fs/smb/client/nterr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ extern const struct nt_err_code_struct nt_errs[];
560560
#define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)
561561
#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)
562562
#define NT_STATUS_NO_USER_KEYS (0xC0000000 | 0x0290)
563+
#define NT_STATUS_VOLUME_NOT_UPGRADED (0xC0000000 | 0x029c)
563564
#define NT_STATUS_NETWORK_SESSION_EXPIRED (0xC0000000 | 0x035c)
564565
#define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE) /* scheduler */
565566
#define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)

fs/smb/client/smb1maperror.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ static const struct {
667667
ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, {
668668
ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, {
669669
ERRDOS, ERRnoaccess, NT_STATUS_NO_USER_KEYS}, {
670-
ERRDOS, ERRbadfunc, 0xc000029c}, {
670+
ERRDOS, ERRbadfunc, NT_STATUS_VOLUME_NOT_UPGRADED}, {
671671
ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {
672672
ERRDOS, ERRunknownlevel, NT_STATUS_OS2_INVALID_LEVEL}, {
673673
0, 0, 0 }

0 commit comments

Comments
 (0)