You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cb0f39c9cd
The WD MyBook Live SquashFS images didn't work anymore due to a upstream regression in f2fs commit: 0cfe75c5b01199 ("f2fs: enhance sanity_check_raw_super() to avoid potential overflows") that got backported to 4.14.86 and landed in 4.18. by Martin Blumenstingl: |Treat "block_count" from struct f2fs_super_block as 64-bit little endian |value in sanity_check_raw_super() because struct f2fs_super_block |declares "block_count" as "__le64". | |This fixes a bug where the superblock validation fails on big endian |devices with the following error: | F2FS-fs (sda1): Wrong segment_count / block_count (61439 > 0) | F2FS-fs (sda1): Can't find valid F2FS filesystem in 1th superblock | F2FS-fs (sda1): Wrong segment_count / block_count (61439 > 0) | F2FS-fs (sda1): Can't find valid F2FS filesystem in 2th superblock |As result of this the partition cannot be mounted. | |With this patch applied the superblock validation works fine and the |partition can be mounted again: | F2FS-fs (sda1): Mounted with checkpoint version = 7c84 | |My little endian x86-64 hardware was able to mount the partition without |this fix. |To confirm that mounting f2fs filesystems works on big endian machines |again I tested this on a 32-bit MIPS big endian (lantiq) device. Hopefully, this will do until Martin's patch moved through upstream to -stable. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> |
6 years ago | |
---|---|---|
.. | ||
adm5120 | 6 years ago | |
adm8668 | 6 years ago | |
apm821xx | 6 years ago | |
ar7 | 6 years ago | |
ar71xx | 6 years ago | |
arc770 | 6 years ago | |
archs38 | 6 years ago | |
armvirt | 6 years ago | |
at91 | 6 years ago | |
ath25 | 6 years ago | |
ath79 | 6 years ago | |
au1000 | 6 years ago | |
bcm53xx | 6 years ago | |
brcm47xx | 6 years ago | |
brcm63xx | 6 years ago | |
brcm2708 | 6 years ago | |
cns3xxx | 6 years ago | |
gemini | 6 years ago | |
generic | 6 years ago | |
imx6 | 6 years ago | |
ipq40xx | 6 years ago | |
ipq806x | 6 years ago | |
ixp4xx | 6 years ago | |
kirkwood | 6 years ago | |
lantiq | 6 years ago | |
layerscape | 6 years ago | |
malta | 6 years ago | |
mcs814x | 6 years ago | |
mediatek | 6 years ago | |
mpc85xx | 6 years ago | |
mvebu | 6 years ago | |
mxs | 6 years ago | |
octeon | 6 years ago | |
octeontx | 6 years ago | |
omap | 6 years ago | |
omap24xx | 7 years ago | |
orion | 6 years ago | |
oxnas | 6 years ago | |
pistachio | 6 years ago | |
ppc40x | 6 years ago | |
ppc44x | 6 years ago | |
ramips | 6 years ago | |
rb532 | 6 years ago | |
samsung | 6 years ago | |
sunxi | 6 years ago | |
uml | 6 years ago | |
x86 | 6 years ago | |
xburst | 6 years ago | |
zynq | 6 years ago | |
Makefile |