1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-19 09:00:15 +03:00

kernel: fix automatic rootfs partition selection on 2.6.31

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18007 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-10-08 18:34:45 +00:00
parent dd6a64aec6
commit 63b0dfc1a1

View File

@ -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