allocate_partition() copies all the content of dpart into a new struct. SVN-Revision: 36475
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36008