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:
@@ -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 @@
|
|||||||
#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;
|
||||||
|
Reference in New Issue
Block a user