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

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 bdc9f6f84df8cf56dc1b743b263ecfed2c779559..5e3efc3805a1610341a971802bc4e968771091e1 100644 (file)
@@ -686,6 +686,7 @@ const struct nt_err_code_struct nt_errs[] = {
        {"NT_STATUS_ENCRYPTION_FAILED", NT_STATUS_ENCRYPTION_FAILED},
        {"NT_STATUS_DECRYPTION_FAILED", NT_STATUS_DECRYPTION_FAILED},
        {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND},
+       {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY},
        {"NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_NETWORK_SESSION_EXPIRED},
        {"NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES},
        {"NT_STATUS_MORE_ENTRIES", NT_STATUS_MORE_ENTRIES},
index 56bd494b480d60d809a3d8b9d0e752065e2aa751..c0f317948714642ca15fbc966b7144b2dfaded42 100644 (file)
@@ -556,6 +556,7 @@ extern const struct nt_err_code_struct nt_errs[];
 #define NT_STATUS_ENCRYPTION_FAILED (0xC0000000 | 0x028a)
 #define NT_STATUS_DECRYPTION_FAILED (0xC0000000 | 0x028b)
 #define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)
+#define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)
 #define NT_STATUS_NETWORK_SESSION_EXPIRED  (0xC0000000 | 0x035c)
 #define NT_STATUS_NO_SUCH_JOB (0xC0000000 | 0xEDE)     /* scheduler */
 #define NT_STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP (0xC0000000 | 0x5D0000)
index 4506fe3fd2039d092fbf25111b9bc7150a51a325..02a2233ea0dc2ebfc9135d57e9b7534f1199515c 100644 (file)
@@ -663,7 +663,7 @@ static const struct {
        ERRDOS, ERRnoaccess, NT_STATUS_ENCRYPTION_FAILED}, {
        ERRDOS, ERRnoaccess, NT_STATUS_DECRYPTION_FAILED}, {
        ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, {
-       ERRDOS, ERRnoaccess, 0xc000028d}, {
+       ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, {
        ERRDOS, ERRnoaccess, 0xc000028e}, {
        ERRDOS, ERRnoaccess, 0xc000028f}, {
        ERRDOS, ERRnoaccess, 0xc0000290}, {