Commit 51b7e3c9 authored by Theodore Ts'o's avatar Theodore Ts'o

ext4: add module aliases for ext2 and ext3

Add module aliases for ext2 and ext3 when CONFIG_EXT4_USE_FOR_EXT23 is
set.  This makes the existing user-space stuff like mkinitrd working
as is.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 84c66473
...@@ -4005,6 +4005,7 @@ static inline void unregister_as_ext2(void) ...@@ -4005,6 +4005,7 @@ static inline void unregister_as_ext2(void)
{ {
unregister_filesystem(&ext2_fs_type); unregister_filesystem(&ext2_fs_type);
} }
MODULE_ALIAS("ext2");
#else #else
static inline void register_as_ext2(void) { } static inline void register_as_ext2(void) { }
static inline void unregister_as_ext2(void) { } static inline void unregister_as_ext2(void) { }
...@@ -4031,6 +4032,7 @@ static inline void unregister_as_ext3(void) ...@@ -4031,6 +4032,7 @@ static inline void unregister_as_ext3(void)
{ {
unregister_filesystem(&ext3_fs_type); unregister_filesystem(&ext3_fs_type);
} }
MODULE_ALIAS("ext3");
#else #else
static inline void register_as_ext3(void) { } static inline void register_as_ext3(void) { }
static inline void unregister_as_ext3(void) { } static inline void unregister_as_ext3(void) { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment