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

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 5d649222a3bebef03d7455685931cb9ae1b2a9fe..9f0a3283edc07c9ab93b0dcb1704fb123b45e7fe 100644 (file)
@@ -688,6 +688,7 @@ const struct nt_err_code_struct nt_errs[] = {
        {"NT_STATUS_RANGE_NOT_FOUND", NT_STATUS_RANGE_NOT_FOUND},
        {"NT_STATUS_NO_RECOVERY_POLICY", NT_STATUS_NO_RECOVERY_POLICY},
        {"NT_STATUS_NO_EFS", NT_STATUS_NO_EFS},
+       {"NT_STATUS_WRONG_EFS", NT_STATUS_WRONG_EFS},
        {"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 9af4a21e1d9baa96d649d84b77cef0f045cffc80..72fb68a13c49ab70327c8e3c7e92d7a273a2ac9e 100644 (file)
@@ -558,6 +558,7 @@ extern const struct nt_err_code_struct nt_errs[];
 #define NT_STATUS_RANGE_NOT_FOUND (0xC0000000 | 0x028c)
 #define NT_STATUS_NO_RECOVERY_POLICY (0xC0000000 | 0x028d)
 #define NT_STATUS_NO_EFS (0xC0000000 | 0x028e)
+#define NT_STATUS_WRONG_EFS (0xC0000000 | 0x028f)
 #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 cef67ea5720e765f5ace5355be359d729c1c67ed..7af766b81eafb530b5acf3fd557ebc94581db6a7 100644 (file)
@@ -665,7 +665,7 @@ static const struct {
        ERRHRD, ERRgeneral, NT_STATUS_RANGE_NOT_FOUND}, {
        ERRDOS, ERRnoaccess, NT_STATUS_NO_RECOVERY_POLICY}, {
        ERRDOS, ERRnoaccess, NT_STATUS_NO_EFS}, {
-       ERRDOS, ERRnoaccess, 0xc000028f}, {
+       ERRDOS, ERRnoaccess, NT_STATUS_WRONG_EFS}, {
        ERRDOS, ERRnoaccess, 0xc0000290}, {
        ERRDOS, ERRbadfunc, 0xc000029c}, {
        ERRDOS, ERRsymlink, NT_STATUS_STOPPED_ON_SYMLINK}, {