kernel: fix mtd squashfs root regression on targets with CONFIG_FIT_PARTITION
authorFelix Fietkau <nbd@nbd.name>
Sat, 10 Apr 2021 15:00:57 +0000 (17:00 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 10 Apr 2021 15:02:05 +0000 (17:02 +0200)
commit734c3f71482d5234f320f9b2b9acd8c51be51ae6
tree671ad36a3213fb8463c56266ac765a7cc1b3d59f
parentf07fe36f22fcf3f3da4e0440dfc5c39516e2cb55
kernel: fix mtd squashfs root regression on targets with CONFIG_FIT_PARTITION

Move 480-mtd-set-rootfs-to-be-root-dev.patch to hack-5.10 and fix assumption
about the block device index.

Fixes: 2809d0000744 ("kernel: support FIT partition parser on mtdblock devices")
Acked-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch [new file with mode: 0644]
target/linux/generic/pending-5.10/480-mtd-set-rootfs-to-be-root-dev.patch [deleted file]
target/linux/generic/pending-5.10/495-mtd-core-add-get_mtd_device_by_node.patch