diff options
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 5e6c87836193..34e855219231 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -90,6 +90,7 @@ static struct file_system_type ext2_fs_type = { | |||
90 | .kill_sb = kill_block_super, | 90 | .kill_sb = kill_block_super, |
91 | .fs_flags = FS_REQUIRES_DEV, | 91 | .fs_flags = FS_REQUIRES_DEV, |
92 | }; | 92 | }; |
93 | MODULE_ALIAS_FS("ext2"); | ||
93 | #define IS_EXT2_SB(sb) ((sb)->s_bdev->bd_holder == &ext2_fs_type) | 94 | #define IS_EXT2_SB(sb) ((sb)->s_bdev->bd_holder == &ext2_fs_type) |
94 | #else | 95 | #else |
95 | #define IS_EXT2_SB(sb) (0) | 96 | #define IS_EXT2_SB(sb) (0) |
@@ -104,6 +105,7 @@ static struct file_system_type ext3_fs_type = { | |||
104 | .kill_sb = kill_block_super, | 105 | .kill_sb = kill_block_super, |
105 | .fs_flags = FS_REQUIRES_DEV, | 106 | .fs_flags = FS_REQUIRES_DEV, |
106 | }; | 107 | }; |
108 | MODULE_ALIAS_FS("ext3"); | ||
107 | #define IS_EXT3_SB(sb) ((sb)->s_bdev->bd_holder == &ext3_fs_type) | 109 | #define IS_EXT3_SB(sb) ((sb)->s_bdev->bd_holder == &ext3_fs_type) |
108 | #else | 110 | #else |
109 | #define IS_EXT3_SB(sb) (0) | 111 | #define IS_EXT3_SB(sb) (0) |
@@ -5152,7 +5154,6 @@ static inline int ext2_feature_set_ok(struct super_block *sb) | |||
5152 | return 0; | 5154 | return 0; |
5153 | return 1; | 5155 | return 1; |
5154 | } | 5156 | } |
5155 | MODULE_ALIAS("ext2"); | ||
5156 | #else | 5157 | #else |
5157 | static inline void register_as_ext2(void) { } | 5158 | static inline void register_as_ext2(void) { } |
5158 | static inline void unregister_as_ext2(void) { } | 5159 | static inline void unregister_as_ext2(void) { } |
@@ -5185,7 +5186,6 @@ static inline int ext3_feature_set_ok(struct super_block *sb) | |||
5185 | return 0; | 5186 | return 0; |
5186 | return 1; | 5187 | return 1; |
5187 | } | 5188 | } |
5188 | MODULE_ALIAS("ext3"); | ||
5189 | #else | 5189 | #else |
5190 | static inline void register_as_ext3(void) { } | 5190 | static inline void register_as_ext3(void) { } |
5191 | static inline void unregister_as_ext3(void) { } | 5191 | static inline void unregister_as_ext3(void) { } |
@@ -5199,6 +5199,7 @@ static struct file_system_type ext4_fs_type = { | |||
5199 | .kill_sb = kill_block_super, | 5199 | .kill_sb = kill_block_super, |
5200 | .fs_flags = FS_REQUIRES_DEV, | 5200 | .fs_flags = FS_REQUIRES_DEV, |
5201 | }; | 5201 | }; |
5202 | MODULE_ALIAS_FS("ext4"); | ||
5202 | 5203 | ||
5203 | static int __init ext4_init_feat_adverts(void) | 5204 | static int __init ext4_init_feat_adverts(void) |
5204 | { | 5205 | { |