summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.37/065-rootfs_split.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-08 11:08:08 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-08 11:08:08 +0000
commit0d9d3d7398dbce0cb634eaf297ff75add16cae0e (patch)
tree7da30b9a893f7be897da970f9b8f115ac5617f33 /target/linux/generic/patches-2.6.37/065-rootfs_split.patch
parentd9c364a7c794759c3b6a337dad3507ad937fe2ef (diff)
linux/generic: sync 2.6.37 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23927 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37/065-rootfs_split.patch')
-rw-r--r--target/linux/generic/patches-2.6.37/065-rootfs_split.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.37/065-rootfs_split.patch b/target/linux/generic/patches-2.6.37/065-rootfs_split.patch
index 532cf3ae59..b8fcd0c22b 100644
--- a/target/linux/generic/patches-2.6.37/065-rootfs_split.patch
+++ b/target/linux/generic/patches-2.6.37/065-rootfs_split.patch
@@ -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;