openwrt/target/linux/generic
Rafał Miłecki 4052443a23 kernel: don't switch allocate_partition to use mtd_roundup_to_eb
This mtd_roundup_to_eb helper was introduced years ago in the commit
daec7ad768 ("kernel/3.10: add separate rootfs partition parser") and
it was probably supposed to simplify code a bit.

With the recent upstream commit 1eeef2d7483a7 ("mtd: handle partitioning
on devices with 0 erasesize") the logic in allocate_partition got
slightly more complex and we can't use this simple helper anymore as it
doesn't support MTD_NO_ERASE properly.

There also isn't any real gain from this helper, so it's probably easier
to just don't use it *or* work on upstreaming it to avoid maintenance
cost.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-06-23 10:09:57 +02:00
..
files linux/swconfig_get_attr: fix leak of msg in case of error 2017-06-11 14:22:44 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
patches-3.18 kernel: make regmap LZO cache optional 2017-06-10 12:40:37 +02:00
patches-4.4 kernel: make regmap LZO cache optional 2017-06-10 12:40:37 +02:00
patches-4.9 kernel: don't switch allocate_partition to use mtd_roundup_to_eb 2017-06-23 10:09:57 +02:00
config-3.18 kernel: remove out of tree direct-io disable hack 2017-04-26 10:27:45 +02:00
config-4.4 kernel: add CONFIG_SCHED_HRTICK=y to the generic config 2017-06-07 18:31:10 +02:00
config-4.9 kernel: remove CONFIG_ZONE_DMA_FLAG from 4.9 2017-06-07 18:31:10 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00