diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-11-22 12:03:23 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-11-22 12:03:23 +0000 |
commit | fc778afbd3cc276bfae58a5393b14110413b667b (patch) | |
tree | 62b06f3f0a8592397e854603a4d717281ae4e09d /target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch | |
parent | a75d08e09db0c8878bcb62071318be8bae1cdd06 (diff) | |
download | master-187ad058-fc778afbd3cc276bfae58a5393b14110413b667b.tar.gz master-187ad058-fc778afbd3cc276bfae58a5393b14110413b667b.tar.bz2 master-187ad058-fc778afbd3cc276bfae58a5393b14110413b667b.zip |
add 2.6.32 patches to use ext4 for ext2/3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24082 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch b/target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch new file mode 100644 index 0000000000..7ac97b5010 --- /dev/null +++ b/target/linux/generic/patches-2.6.32/042-ext4_add_ext23_module_aliases.patch @@ -0,0 +1,33 @@ +From 51b7e3c9fbe7d22d4e355101e9a73b44fc5c9feb Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o <tytso@mit.edu> +Date: Mon, 21 Dec 2009 10:56:09 -0500 +Subject: [PATCH] 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> +--- + fs/ext4/super.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +--- a/fs/ext4/super.c ++++ b/fs/ext4/super.c +@@ -4010,6 +4010,7 @@ static inline void unregister_as_ext2(vo + { + unregister_filesystem(&ext2_fs_type); + } ++MODULE_ALIAS("ext2"); + #else + static inline void register_as_ext2(void) { } + static inline void unregister_as_ext2(void) { } +@@ -4036,6 +4037,7 @@ static inline void unregister_as_ext3(vo + { + unregister_filesystem(&ext3_fs_type); + } ++MODULE_ALIAS("ext3"); + #else + static inline void register_as_ext3(void) { } + static inline void unregister_as_ext3(void) { } |