From: ChenXiaoSong <chenxiaosong@xxxxxxxxxx> 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 -- 2.34.1