]> err.no Git - linux-2.6/commitdiff
Don't include private headers from user-visible part of linux/ext2_fs.h
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 14:18:31 +0000 (15:18 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 25 Apr 2006 14:18:31 +0000 (15:18 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/ext2_fs.h

index f7bd1c7ebefbd2a116c4970608b6cfb3c341bf90..facf34e9895463a35c04ecfb56bd577866c45370 100644 (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;