diff options
author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2024-08-22 11:21:00 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-09-15 18:42:44 +0300 |
commit | 78181a5504a401e421e65d0257a33f904e0e7c29 (patch) | |
tree | bfdf85d8865eba120c7305b8e2744de108c92ae4 /fs/smb/server/oplock.c | |
parent | b51174da743b6b7cd87c02e882ebe60dcb99f8bf (diff) | |
download | linux-78181a5504a401e421e65d0257a33f904e0e7c29.tar.xz |
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/server/oplock.c')
-rw-r--r-- | fs/smb/server/oplock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/oplock.c b/fs/smb/server/oplock.c index e546ffa57b55..3721e04f2332 100644 --- a/fs/smb/server/oplock.c +++ b/fs/smb/server/oplock.c @@ -10,7 +10,7 @@ #include "oplock.h" #include "smb_common.h" -#include "smbstatus.h" +#include "../common/smb2status.h" #include "connection.h" #include "mgmt/user_session.h" #include "mgmt/share_config.h" |