kernel: fix automatic rootfs partition selection on 2.6.31
SVN-Revision: 18007
This commit is contained in:
parent
ffc90868e4
commit
017ede680f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue