* [PATCH] ext4: Add module aliases for ext2 and ext3
@ 2009-12-21 11:37 Takashi Iwai
2009-12-21 15:56 ` tytso
0 siblings, 1 reply; 2+ messages in thread
From: Takashi Iwai @ 2009-12-21 11:37 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Andreas Dilger, linux-ext4
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>
---
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 827bde1..8c7c008 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4000,6 +4000,7 @@ static inline void unregister_as_ext2(void)
{
unregister_filesystem(&ext2_fs_type);
}
+MODULE_ALIAS("ext2");
#else
static inline void register_as_ext2(void) { }
static inline void unregister_as_ext2(void) { }
@@ -4026,6 +4027,7 @@ static inline void unregister_as_ext3(void)
{
unregister_filesystem(&ext3_fs_type);
}
+MODULE_ALIAS("ext3");
#else
static inline void register_as_ext3(void) { }
static inline void unregister_as_ext3(void) { }
--
1.6.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ext4: Add module aliases for ext2 and ext3
2009-12-21 11:37 [PATCH] ext4: Add module aliases for ext2 and ext3 Takashi Iwai
@ 2009-12-21 15:56 ` tytso
0 siblings, 0 replies; 2+ messages in thread
From: tytso @ 2009-12-21 15:56 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Andreas Dilger, linux-ext4
On Mon, Dec 21, 2009 at 12:37:37PM +0100, Takashi Iwai wrote:
> 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>
Thanks, added to the ext4 patch queue.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-21 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 11:37 [PATCH] ext4: Add module aliases for ext2 and ext3 Takashi Iwai
2009-12-21 15:56 ` tytso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox