linux/generic: sync 2.6.37 patches
authorAlexandros C. Couloumbis <alex@ozo.com>
Mon, 8 Nov 2010 11:08:08 +0000 (11:08 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Mon, 8 Nov 2010 11:08:08 +0000 (11:08 +0000)
SVN-Revision: 23927

target/linux/generic/patches-2.6.37/065-rootfs_split.patch

index 532cf3ae59233e9331122129f8a4505a70c154bd..b8fcd0c22bd278417bf0dae38aa1386c7ef44ca2 100644 (file)
 +      printk(KERN_INFO "mtd: partition \"%s\" created automatically, ofs=%llX, len=%llX \n",
 +              ROOTFS_SPLIT_NAME, dpart->offset, dpart->size);
 +
-+      slave = add_one_partition(master, dpart, 0, split_offset);
++      slave = allocate_partition(master, dpart, 0, split_offset);
 +      if (!slave) {
 +              kfree(dpart);
 +              return -ENOMEM;