From: Hitoshi Mitake Date: Mon, 22 Jun 2009 02:11:20 +0000 (+0900) Subject: Making fs/minix/minix.h double including safe X-Git-Tag: 2.1b_release~12148 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e38be994b9cad09b0d8d78a1875d7e8a2e115d29;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Signed-off-by: Linus Torvalds --- diff --git a/fs/minix/minix.h b/fs/minix/minix.h index cb7fdd1..9dcf95b 100644 --- a/fs/minix/minix.h +++ b/fs/minix/minix.h @@ -1,3 +1,6 @@ +#ifndef FS_MINIX_H +#define FS_MINIX_H + #include #include #include @@ -86,3 +89,5 @@ static inline struct minix_inode_info *minix_i(struct inode *inode) { return list_entry(inode, struct minix_inode_info, vfs_inode); } + +#endif /* FS_MINIX_H */