mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-29 23:35:40 +00:00
Since Linux 6.7, introduced with commit 5c2f7727d437 ("mtd: mtdpart:
check for subpartitions parsing result"), errors during subpartition
parsing cause all MTD partitions to be torn down.
Since the current mtdsplit driver for devices using H3C VFS returns
-EINVAL if it does not find a file system containing an OpenWrt image,
this makes initial installation of OpenWrt impossible.
Work around this by returning 0 when the file system contains unexpected
data. Also print a message in this case to show what is going on.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/19475
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mtdsplit_bcm63xx.c | ||
| mtdsplit_bcm_wfi.c | ||
| mtdsplit_brnimage.c | ||
| mtdsplit_cfe_bootfs.c | ||
| mtdsplit_elf.c | ||
| mtdsplit_eva.c | ||
| mtdsplit_fit.c | ||
| mtdsplit_h3c_vfs.c | ||
| mtdsplit_jimage.c | ||
| mtdsplit_lzma.c | ||
| mtdsplit_minor.c | ||
| mtdsplit_mstc_boot.c | ||
| mtdsplit_seama.c | ||
| mtdsplit_seil.c | ||
| mtdsplit_squashfs.c | ||
| mtdsplit_tplink.c | ||
| mtdsplit_trx.c | ||
| mtdsplit_uimage.c | ||
| mtdsplit_wrgg.c | ||
| mtdsplit.c | ||
| mtdsplit.h | ||