Explorar o código

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

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse %!s(int64=19) %!d(string=hai) anos
pai
achega
52a78c1cae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/linux/ext2_fs.h

+ 1 - 1
include/linux/ext2_fs.h

@@ -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;