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 532cf3a..b8fcd0c 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;