diff options
author | Kari Argillander <kari.argillander@gmail.com> | 2021-08-16 15:01:56 +0300 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2021-08-27 17:05:10 +0300 |
commit | 87790b65343932411af43bc9b218f086ecebd6a5 (patch) | |
tree | 1fbafaa243e70ecbd8656012edd53e196d6af7d4 /fs/ntfs3/ntfs.h | |
parent | 528c9b3d1edf291685151afecd741d176f527ddf (diff) | |
download | lwn-87790b65343932411af43bc9b218f086ecebd6a5.tar.gz lwn-87790b65343932411af43bc9b218f086ecebd6a5.zip |
fs/ntfs3: Add ifndef + define to all header files
Add guards so that compiler will only include header files once.
Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs.h')
-rw-r--r-- | fs/ntfs3/ntfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ntfs3/ntfs.h b/fs/ntfs3/ntfs.h index 40398e6c39c9..16da514af124 100644 --- a/fs/ntfs3/ntfs.h +++ b/fs/ntfs3/ntfs.h @@ -7,6 +7,8 @@ */ // clang-format off +#ifndef _LINUX_NTFS3_NTFS_H +#define _LINUX_NTFS3_NTFS_H /* TODO: * - Check 4K mft record and 512 bytes cluster @@ -1235,4 +1237,5 @@ struct SID { }; static_assert(offsetof(struct SID, SubAuthority) == 8); +#endif /* _LINUX_NTFS3_NTFS_H */ // clang-format on |