提交 52a78c1c 编写于 作者: D David Woodhouse

Don't include private headers from user-visible part of linux/ext2_fs.h

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 19b3bd66
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#define _LINUX_EXT2_FS_H #define _LINUX_EXT2_FS_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/ext2_fs_sb.h>
/* /*
* The second extended filesystem constants/structures * The second extended filesystem constants/structures
...@@ -70,6 +69,7 @@ ...@@ -70,6 +69,7 @@
#define EXT2_SUPER_MAGIC 0xEF53 #define EXT2_SUPER_MAGIC 0xEF53
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/ext2_fs_sb.h>
static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb)
{ {
return sb->s_fs_info; return sb->s_fs_info;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册