parent
2f2442f323
commit
a0992676b4
|
@ -122,7 +122,7 @@
|
|||
+ 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;
|
||||
|
|
Loading…
Reference in New Issue