diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-08 18:34:45 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-08 18:34:45 +0000 |
commit | 017ede680fabc86ed51a17bc9691f3b436842c8b (patch) | |
tree | 4293c2b09e905f6aca89eba223659a348178105f /target/linux | |
parent | ffc90868e475a57a2711a7ab9b121bc4aa4a80e1 (diff) | |
download | mtk-20170518-017ede680fabc86ed51a17bc9691f3b436842c8b.zip mtk-20170518-017ede680fabc86ed51a17bc9691f3b436842c8b.tar.gz mtk-20170518-017ede680fabc86ed51a17bc9691f3b436842c8b.tar.bz2 |
kernel: fix automatic rootfs partition selection on 2.6.31
SVN-Revision: 18007
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.31/065-rootfs_split.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.31/065-rootfs_split.patch b/target/linux/generic-2.6/patches-2.6.31/065-rootfs_split.patch index a642dee..50ca25c 100644 --- a/target/linux/generic-2.6/patches-2.6.31/065-rootfs_split.patch +++ b/target/linux/generic-2.6/patches-2.6.31/065-rootfs_split.patch @@ -207,7 +207,7 @@ + if (ROOT_DEV == 0) { + printk(KERN_NOTICE "mtd: partition \"rootfs\" " + "set to be root filesystem\n"); -+ ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, i); ++ ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, slave->mtd.index); + } +#endif +#ifdef CONFIG_MTD_ROOTFS_SPLIT |