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

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2006-04-25 15:18:31 +01:00
parent 19b3bd667b
commit 52a78c1cae

View File

@ -17,7 +17,6 @@
#define _LINUX_EXT2_FS_H
#include <linux/types.h>
#include <linux/ext2_fs_sb.h>
/*
* The second extended filesystem constants/structures
@ -70,6 +69,7 @@
#define EXT2_SUPER_MAGIC 0xEF53
#ifdef __KERNEL__
#include <linux/ext2_fs_sb.h>
static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb)
{
return sb->s_fs_info;