Skip to content

smb: move SMB2 Status code to common header file

[email protected] linux-cifs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2smb/client: fix typo to STATUS_MCA_OCCURREDfs/smb/client/smb2maperror.c fs/smb/client/smb2status.h+2 -20 replies
2/2smb: move SMB2 Status code to common header filefs/smb/client/smb2file.c fs/smb/client/smb2inode.c fs/smb/client/smb2maperror.c +12 more+120 -18890 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] smb: move SMB2 Status code to common header file

From: ChenXiaoSong <[email protected]>

There are only slight differences between the client and server of SMB2 Status code definitions, in order to maintain the code more easily, move all definitions to common header file.

ChenXiaoSong (2):
smb/client: fix typo to STATUS_MCA_OCCURRED
smb: move SMB2 Status code to common header file

 fs/smb/client/smb2file.c               |    2 +-
 fs/smb/client/smb2inode.c              |    2 +-
 fs/smb/client/smb2maperror.c           |    4 +-
 fs/smb/client/smb2misc.c               |    2 +-
 fs/smb/client/smb2ops.c                |    2 +-
 fs/smb/client/smb2pdu.c                |    2 +-
 fs/smb/client/smb2transport.c          |    2 +-
 fs/smb/{client => common}/smb2status.h |  163 ++-
 fs/smb/server/oplock.c                 |    2 +-
 fs/smb/server/server.c                 |    2 +-
 fs/smb/server/smb2misc.c               |    2 +-
 fs/smb/server/smb2pdu.c                |    2 +-
 fs/smb/server/smb_common.c             |    2 +-
 fs/smb/server/smbstatus.h              | 1822 ------------------------
 fs/smb/server/transport_rdma.c         |    2 +-
 15 files changed, 122 insertions(+), 1891 deletions(-)
 rename fs/smb/{client => common}/smb2status.h (96%)
 delete mode 100644 fs/smb/server/smbstatus.h
Signature · 1 line
2.34.1