[PATCH 08/10] smb/server: rename include guard in smb_common.h

chenxiaosong.chenxiaosong@linux.dev posted 10 patches 2 weeks, 1 day ago
There is a newer version of this series
[PATCH 08/10] smb/server: rename include guard in smb_common.h
Posted by chenxiaosong.chenxiaosong@linux.dev 2 weeks, 1 day ago
From: ChenXiaoSong <chenxiaosong@kylinos.cn>

To avoid conflicts with the include guard in the soon-to-be-created
common/common.h header.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
---
 fs/smb/server/smb_common.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/smb/server/smb_common.h b/fs/smb/server/smb_common.h
index ae4dac515b6c..8cea25c01d81 100644
--- a/fs/smb/server/smb_common.h
+++ b/fs/smb/server/smb_common.h
@@ -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>
 
@@ -196,4 +196,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__ */
-- 
2.43.0