summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/smb2transport.c
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong@kylinos.cn>2024-08-22 10:21:00 +0200
committerSteve French <stfrench@microsoft.com>2024-09-15 17:42:44 +0200
commit78181a5504a401e421e65d0257a33f904e0e7c29 (patch)
treebfdf85d8865eba120c7305b8e2744de108c92ae4 /fs/smb/client/smb2transport.c
parentsmb: move some duplicate definitions to common/smbacl.h (diff)
downloadlinux-78181a5504a401e421e65d0257a33f904e0e7c29.tar.xz
linux-78181a5504a401e421e65d0257a33f904e0e7c29.zip
smb: move SMB2 Status code to common header file
There are only 4 different definitions between the client and server: - STATUS_SERVER_UNAVAILABLE: from client/smb2status.h - STATUS_FILE_NOT_AVAILABLE: from client/smb2status.h - STATUS_NO_PREAUTH_INTEGRITY_HASH_OVERLAP: from server/smbstatus.h - STATUS_INVALID_LOCK_RANGE: from server/smbstatus.h Rename client/smb2status.h to common/smb2status.h, and merge the 2 different definitions of server to common header file. Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2transport.c')
-rw-r--r--fs/smb/client/smb2transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/smb2transport.c b/fs/smb/client/smb2transport.c
index 1476c445cadc..e4636fca821d 100644
--- a/fs/smb/client/smb2transport.c
+++ b/fs/smb/client/smb2transport.c
@@ -23,7 +23,7 @@
#include "cifsproto.h"
#include "smb2proto.h"
#include "cifs_debug.h"
-#include "smb2status.h"
+#include "../common/smb2status.h"
#include "smb2glob.h"
static int