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

See MS-ERREF 2.3.1 STATUS_UNABLE_TO_FREE_VM. 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 90a5eee157ea4bc3ccd6c51393e55c1a70b9af95..09263c91d07a48abb543eb32ac30ce605d8b4864 100644 (file)
@@ -70,7 +70,7 @@ extern const struct nt_err_code_struct nt_errs[];
 #define NT_STATUS_NO_MEMORY 0xC0000000 | 0x0017
 #define NT_STATUS_CONFLICTING_ADDRESSES 0xC0000000 | 0x0018
 #define NT_STATUS_NOT_MAPPED_VIEW 0xC0000000 | 0x0019
-#define NT_STATUS_UNABLE_TO_FREE_VM 0x80000000 | 0x001a
+#define NT_STATUS_UNABLE_TO_FREE_VM 0xC0000000 | 0x001a
 #define NT_STATUS_UNABLE_TO_DELETE_SECTION 0xC0000000 | 0x001b
 #define NT_STATUS_INVALID_SYSTEM_SERVICE 0xC0000000 | 0x001c
 #define NT_STATUS_ILLEGAL_INSTRUCTION 0xC0000000 | 0x001d