Revert "kernel: mtd: Make subpartitions inherit parent's access mode"
authorPetr Štetiar <ynezz@true.cz>
Tue, 21 Jan 2020 16:05:19 +0000 (17:05 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 21 Jan 2020 16:25:56 +0000 (17:25 +0100)
commit0c707d37b7f767daca655e02558299fe100fd3f7
treee9cdae8d4fd5549b202f1639fe0bf4eb4a21b1e6
parent0f81a0979c5515d4204437d4f0c753196f29df92
Revert "kernel: mtd: Make subpartitions inherit parent's access mode"

This reverts commit de80424f706682e8bba27c60bcd2a9c1b4a5e875 which needs
more work and testing as it broke at least jffs2 overlays at least on
ath79 platform, marking them as read-only, thus unusable:

 jffs2_build_filesystem(): erasing all blocks after the end marker...
 jffs2: Erase at 0x009e0000 failed immediately: -EROFS. Is the sector locked?

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2020-January/021344.html
Reported-by: Steve Brown <sbrown@ewol.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/generic/hack-4.14/401-inherit-parent-partition-access-mode.patch [deleted file]
target/linux/generic/hack-4.19/401-inherit-parent-partition-access-mode.patch [deleted file]