Skip to content

smb/client: update SMB1 maperror

[email protected] linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipefs/smb/client/smb1maperror.c+1 -10 replies
2/17smb/client: add NT_STATUS_OS2_INVALID_LEVELfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
3/17smb/client: rename ERRinvlevel to ERRunknownlevelfs/smb/client/smb1maperror.c fs/smb/client/smberr.h+3 -30 replies
4/17smb/client: add NT_STATUS_VARIABLE_NOT_FOUNDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
5/17smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPTfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+4 -10 replies
6/17smb/client: add NT_STATUS_VOLUME_DISMOUNTEDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
7/17smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINTfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+4 -10 replies
8/17smb/client: add NT_STATUS_ENCRYPTION_FAILEDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
9/17smb/client: add NT_STATUS_DECRYPTION_FAILEDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
10/17smb/client: add NT_STATUS_RANGE_NOT_FOUNDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
11/17smb/client: add NT_STATUS_NO_RECOVERY_POLICYfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
12/17smb/client: add NT_STATUS_NO_EFSfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
13/17smb/client: add NT_STATUS_WRONG_EFSfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
14/17smb/client: add NT_STATUS_NO_USER_KEYSfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
15/17smb/client: add NT_STATUS_VOLUME_NOT_UPGRADEDfs/smb/client/nterr.c fs/smb/client/nterr.h fs/smb/client/smb1maperror.c+3 -10 replies
16/17smb/client: remove some literal NT error codes from ntstatus_to_dos_mapfs/smb/client/smb1maperror.c+0 -110 replies
17/17smb/client: remove useless comment in mapping_table_ERRSRVfs/smb/client/smb1maperror.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] smb/client: update SMB1 maperror

From: ChenXiaoSong <[email protected]>

My dear team member, Huiwen He, added some NT error code macro definitions and updated some arrays of SMB1 maperror. He will also update the relevant code in the userspace Samba repository.

This is a preparation to improve the search speed of the SMB1 maperror. Huiwen He and I will soon complete the patches of improving the search speed of the SMB1 maperror (I have already sent the first version).

Huiwen He (17):
smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipe smb/client: add NT_STATUS_OS2_INVALID_LEVEL smb/client: rename ERRinvlevel to ERRunknownlevel smb/client: add NT_STATUS_VARIABLE_NOT_FOUND smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT smb/client: add NT_STATUS_VOLUME_DISMOUNTED smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT smb/client: add NT_STATUS_ENCRYPTION_FAILED smb/client: add NT_STATUS_DECRYPTION_FAILED smb/client: add NT_STATUS_RANGE_NOT_FOUND smb/client: add NT_STATUS_NO_RECOVERY_POLICY smb/client: add NT_STATUS_NO_EFS
smb/client: add NT_STATUS_WRONG_EFS
smb/client: add NT_STATUS_NO_USER_KEYS smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED smb/client: remove some literal NT error codes from
ntstatus_to_dos_map
smb/client: remove useless comment in mapping_table_ERRSRV

 fs/smb/client/nterr.c        | 15 ++++++++++++
 fs/smb/client/nterr.h        | 13 +++++++++++
 fs/smb/client/smb1maperror.c | 45 ++++++++++++------------------------
 fs/smb/client/smberr.h       |  2 +-
 4 files changed, 44 insertions(+), 31 deletions(-)
Signature · 1 line
2.43.0