Skip to content

Commit 3774289

Browse files
ChenXiaoSongsmfrench
authored andcommitted
smb/client: move NT_STATUS_MORE_ENTRIES
It is an NTSTATUS value, not a Win32 error code. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 617a5d2 commit 3774289

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fs/smb/client/nterr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ struct nt_err_code_struct {
2222

2323
extern const struct nt_err_code_struct nt_errs[];
2424

25-
/* Win32 Status codes. */
26-
#define NT_STATUS_MORE_ENTRIES 0x0105
25+
/* Win32 Error Codes. */
2726
#define NT_ERROR_INVALID_PARAMETER 0x0057
2827
#define NT_ERROR_INSUFFICIENT_BUFFER 0x007a
2928
#define NT_ERROR_INVALID_DATATYPE 0x070c
3029

3130
/*
32-
* Win32 Error codes extracted using a loop in smbclient then printing a netmon
31+
* NTSTATUS Values extracted using a loop in smbclient then printing a netmon
3332
* sniff to a file.
3433
*/
3534

3635
#define NT_STATUS_OK 0x0000
3736
#define NT_STATUS_PENDING 0x0103
37+
#define NT_STATUS_MORE_ENTRIES 0x0105
3838
#define NT_STATUS_SOME_NOT_MAPPED 0x0107
3939
#define NT_STATUS_NOTIFY_ENUM_DIR 0x010c
4040
#define NT_STATUS_BUFFER_OVERFLOW 0x80000005

0 commit comments

Comments
 (0)