From: Takashi Iwai Subject: [PATCH] ext4: Add module aliases for ext2 and ext3 Date: Mon, 21 Dec 2009 12:37:37 +0100 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Andreas Dilger , linux-ext4@vger.kernel.org To: "Theodore Ts'o" Return-path: Received: from cantor.suse.de ([195.135.220.2]:46662 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbZLULhl (ORCPT ); Mon, 21 Dec 2009 06:37:41 -0500 Sender: linux-ext4-owner@vger.kernel.org List-ID: 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 --- 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