diff options
author | Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> | 2009-06-21 22:11:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-22 14:34:42 -0400 |
commit | e38be994b9cad09b0d8d78a1875d7e8a2e115d29 (patch) | |
tree | 5f2e4ab8585c9a5d70cbe50abf7345d989cbb57c /fs | |
parent | 44da59e4006fbf7c4cc9b54485a37a40726091ee (diff) |
Making fs/minix/minix.h double including safe
I happened to find that fs/minix/minix.h doesn't guard double include.
Yes, I know this never cause something destructive because this is
self-evidence that no source file includes minix.h twice, but I think
fixing this is better than disregarding it.
Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/minix/minix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/minix/minix.h b/fs/minix/minix.h index cb7fdd11f9a5..9dcf95b42116 100644 --- a/fs/minix/minix.h +++ b/fs/minix/minix.h | |||
@@ -1,3 +1,6 @@ | |||
1 | #ifndef FS_MINIX_H | ||
2 | #define FS_MINIX_H | ||
3 | |||
1 | #include <linux/fs.h> | 4 | #include <linux/fs.h> |
2 | #include <linux/pagemap.h> | 5 | #include <linux/pagemap.h> |
3 | #include <linux/minix_fs.h> | 6 | #include <linux/minix_fs.h> |
@@ -86,3 +89,5 @@ static inline struct minix_inode_info *minix_i(struct inode *inode) | |||
86 | { | 89 | { |
87 | return list_entry(inode, struct minix_inode_info, vfs_inode); | 90 | return list_entry(inode, struct minix_inode_info, vfs_inode); |
88 | } | 91 | } |
92 | |||
93 | #endif /* FS_MINIX_H */ | ||