diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-12-21 10:56:09 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-12-21 10:56:09 -0500 |
commit | 51b7e3c9fbe7d22d4e355101e9a73b44fc5c9feb (patch) | |
tree | 490f2fd007d657a09ad33820c85ff75ee15bce96 /fs/ext4/super.c | |
parent | 84c664730374248adaf420c0846a6158d64413c7 (diff) |
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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 6ed9aa91f27d..0a06fe6f2bc2 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -4005,6 +4005,7 @@ static inline void unregister_as_ext2(void) | |||
4005 | { | 4005 | { |
4006 | unregister_filesystem(&ext2_fs_type); | 4006 | unregister_filesystem(&ext2_fs_type); |
4007 | } | 4007 | } |
4008 | MODULE_ALIAS("ext2"); | ||
4008 | #else | 4009 | #else |
4009 | static inline void register_as_ext2(void) { } | 4010 | static inline void register_as_ext2(void) { } |
4010 | static inline void unregister_as_ext2(void) { } | 4011 | static inline void unregister_as_ext2(void) { } |
@@ -4031,6 +4032,7 @@ static inline void unregister_as_ext3(void) | |||
4031 | { | 4032 | { |
4032 | unregister_filesystem(&ext3_fs_type); | 4033 | unregister_filesystem(&ext3_fs_type); |
4033 | } | 4034 | } |
4035 | MODULE_ALIAS("ext3"); | ||
4034 | #else | 4036 | #else |
4035 | static inline void register_as_ext3(void) { } | 4037 | static inline void register_as_ext3(void) { } |
4036 | static inline void unregister_as_ext3(void) { } | 4038 | static inline void unregister_as_ext3(void) { } |