Skip to content

Commit cc40f19

Browse files
metze-sambasmfrench
authored andcommitted
smb: common: add header guards to fs/smb/common/smb2status.h
This will allow it to be included multiple times without problems, that's needed for the smbdirect move to common code. Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: Long Li <longli@microsoft.com> Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent b4ae826 commit cc40f19

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

fs/smb/common/smb2status.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
*
1010
*/
1111

12+
#ifndef FS_SMB_COMMON_SMB2STATUS_H
13+
#define FS_SMB_COMMON_SMB2STATUS_H
14+
1215
/*
1316
* 0 1 2 3 4 5 6 7 8 9 0 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F
1417
* SEV C N <-------Facility--------> <------Error Status Code------>
@@ -1782,3 +1785,5 @@ struct ntstatus {
17821785
#define STATUS_IPSEC_CLEAR_TEXT_DROP cpu_to_le32(0xC0360007) // -EIO
17831786
/* See MS-SMB2 3.3.5.4 */
17841787
#define STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP cpu_to_le32(0xC05D0000) // -EIO
1788+
1789+
#endif /* FS_SMB_COMMON_SMB2STATUS_H */

0 commit comments

Comments
 (0)