Commit e38be994 authored by Hitoshi Mitake's avatar Hitoshi Mitake Committed by Linus Torvalds

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: default avatarHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 44da59e4
#ifndef FS_MINIX_H
#define FS_MINIX_H
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
#include <linux/minix_fs.h> #include <linux/minix_fs.h>
...@@ -86,3 +89,5 @@ static inline struct minix_inode_info *minix_i(struct inode *inode) ...@@ -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); return list_entry(inode, struct minix_inode_info, vfs_inode);
} }
#endif /* FS_MINIX_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment