1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 15:17:44 +02:00

linux/generic: sync 2.6.37 patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23927 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2010-11-08 11:08:08 +00:00
parent d9c364a7c7
commit 0d9d3d7398

View File

@ -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;