]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
smb/client: fix NT_STATUS_DEVICE_DOOR_OPEN value
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Sun, 7 Dec 2025 01:17:57 +0000 (09:17 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 10 Dec 2025 03:20:01 +0000 (21:20 -0600)
This was reported by the KUnit tests in the later patches.

See MS-ERREF 2.3.1 STATUS_DEVICE_DOOR_OPEN. Keep it consistent with the
value in the documentation.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/nterr.h

index 4fd79a82c81772f220db845e2274ac40ad21679b..90a5eee157ea4bc3ccd6c51393e55c1a70b9af95 100644 (file)
@@ -44,7 +44,7 @@ extern const struct nt_err_code_struct nt_errs[];
 #define NT_STATUS_NO_DATA_DETECTED 0x80000022
 #define NT_STATUS_STOPPED_ON_SYMLINK 0x8000002d
 #define NT_STATUS_DEVICE_REQUIRES_CLEANING 0x80000288
-#define NT_STATUS_DEVICE_DOOR_OPEN 0x80000288
+#define NT_STATUS_DEVICE_DOOR_OPEN 0x80000289
 #define NT_STATUS_UNSUCCESSFUL 0xC0000000 | 0x0001
 #define NT_STATUS_NOT_IMPLEMENTED 0xC0000000 | 0x0002
 #define NT_STATUS_INVALID_INFO_CLASS 0xC0000000 | 0x0003