Revert "kernel: rewrite run_parsers_by_type() to use add_mtd_partitions()"
authorDavid Bauer <mail@david-bauer.net>
Sat, 7 Mar 2020 21:45:55 +0000 (22:45 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 7 Mar 2020 21:49:55 +0000 (22:49 +0100)
commitfdfca33350150644481096f1c7a80db2b670cdec
tree8a58f6357bcaad663f409efe3b5ee636ec731f4c
parentab9fd528ae6380d78e5b6c4a6a18a2cc7c1cc785
Revert "kernel: rewrite run_parsers_by_type() to use add_mtd_partitions()"

This reverts commit 15a0701cdde8eeae2a54880b813cdb8cdc09a384.

It was reported that this patch breaks on some cases the JFFS2 overlay
filesystem on targets still using kernel 4.14. This includes ar71xx,
where spurious erase of the ART was reported.

Revert this commit for now. Re-adding should probaby also be done for
every currently supported kernel version.

Ref: FS#2837 FS#2862 FS#2864
Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch
target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch