linux/generic: sync 2.6.37 patches
SVN-Revision: 23927
This commit is contained in:
@@ -122,7 +122,7 @@
|
|||||||
+ printk(KERN_INFO "mtd: partition \"%s\" created automatically, ofs=%llX, len=%llX \n",
|
+ printk(KERN_INFO "mtd: partition \"%s\" created automatically, ofs=%llX, len=%llX \n",
|
||||||
+ ROOTFS_SPLIT_NAME, dpart->offset, dpart->size);
|
+ 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) {
|
+ if (!slave) {
|
||||||
+ kfree(dpart);
|
+ kfree(dpart);
|
||||||
+ return -ENOMEM;
|
+ return -ENOMEM;
|
||||||
|
|||||||
Reference in New Issue
Block a user