]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
smb/server: rename include guard in smb_common.h
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Wed, 3 Dec 2025 08:44:37 +0000 (16:44 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 10 Dec 2025 03:00:48 +0000 (21:00 -0600)
Make the include guard more descriptive to avoid conflicts with include
guards that may be used in the future.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb_common.h

index 2baf4aa330ebbeef0af7f32ce4fbe182d1a2644e..43970e99cbcee0f9e3ad1cfdac15972189e6d7f0 100644 (file)
@@ -3,8 +3,8 @@
  *   Copyright (C) 2018 Samsung Electronics Co., Ltd.
  */
 
-#ifndef __SMB_COMMON_H__
-#define __SMB_COMMON_H__
+#ifndef __SMB_SERVER_COMMON_H__
+#define __SMB_SERVER_COMMON_H__
 
 #include <linux/kernel.h>
 
@@ -203,4 +203,4 @@ unsigned int ksmbd_server_side_copy_max_chunk_size(void);
 unsigned int ksmbd_server_side_copy_max_total_size(void);
 bool is_asterisk(char *p);
 __le32 smb_map_generic_desired_access(__le32 daccess);
-#endif /* __SMB_COMMON_H__ */
+#endif /* __SMB_SERVER_COMMON_H__ */