diff options
-rw-r--r-- | fs/ext4/Kconfig | 2 | ||||
-rw-r--r-- | fs/ext4/super.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig index a6b4e93833d6..9acf7e808139 100644 --- a/fs/ext4/Kconfig +++ b/fs/ext4/Kconfig | |||
@@ -28,7 +28,7 @@ config EXT4_FS | |||
28 | 28 | ||
29 | config EXT4_USE_FOR_EXT23 | 29 | config EXT4_USE_FOR_EXT23 |
30 | bool "Use ext4 for ext2/ext3 file systems" | 30 | bool "Use ext4 for ext2/ext3 file systems" |
31 | depends on !EXT3_FS || !EXT2_FS | 31 | depends on EXT3_FS=n || EXT2_FS=n |
32 | default y | 32 | default y |
33 | help | 33 | help |
34 | Allow the ext4 file system driver code to be used for ext2 or | 34 | Allow the ext4 file system driver code to be used for ext2 or |
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 2b13dcfcf775..8b58a144c31b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -3964,7 +3964,7 @@ static int ext4_get_sb(struct file_system_type *fs_type, int flags, | |||
3964 | return get_sb_bdev(fs_type, flags, dev_name, data, ext4_fill_super,mnt); | 3964 | return get_sb_bdev(fs_type, flags, dev_name, data, ext4_fill_super,mnt); |
3965 | } | 3965 | } |
3966 | 3966 | ||
3967 | #if !defined(CONTIG_EXT2_FS) && defined(CONFIG_EXT4_USE_FOR_EXT23) | 3967 | #if !defined(CONTIG_EXT2_FS) && !defined(CONFIG_EXT2_FS_MODULE) && defined(CONFIG_EXT4_USE_FOR_EXT23) |
3968 | static struct file_system_type ext2_fs_type = { | 3968 | static struct file_system_type ext2_fs_type = { |
3969 | .owner = THIS_MODULE, | 3969 | .owner = THIS_MODULE, |
3970 | .name = "ext2", | 3970 | .name = "ext2", |
@@ -3990,7 +3990,7 @@ static inline void register_as_ext2(void) { } | |||
3990 | static inline void unregister_as_ext2(void) { } | 3990 | static inline void unregister_as_ext2(void) { } |
3991 | #endif | 3991 | #endif |
3992 | 3992 | ||
3993 | #if !defined(CONTIG_EXT3_FS) && defined(CONFIG_EXT4_USE_FOR_EXT23) | 3993 | #if !defined(CONTIG_EXT3_FS) && !defined(CONFIG_EXT3_FS_MODULE) && defined(CONFIG_EXT4_USE_FOR_EXT23) |
3994 | static struct file_system_type ext3_fs_type = { | 3994 | static struct file_system_type ext3_fs_type = { |
3995 | .owner = THIS_MODULE, | 3995 | .owner = THIS_MODULE, |
3996 | .name = "ext3", | 3996 | .name = "ext3", |