[U-Boot] [PATCH] EXT2FS: fix inode size for ext2fs rev#0
Dan Christensen
opello at opello.org
Wed Nov 25 03:53:53 CET 2009
I tested this patch and it resolved the problems I was having with
EXT2 filesystems on my SD card.
On Sun, Nov 22, 2009 at 7:13 AM, Michael Brandt
<Michael.Brandt at emsyso.de> wrote:
> From: Michael Brandt <Michael.Brandt at emsyso.de>
>
> extfs.c assumes that there is always a valid inode_size field in the
> superblock. But this is not true for ext2fs rev 0. Such ext2fs images are for
> instance generated by genext2fs. Symptoms on ARM machines are messages like:
> "raise: Signal # 8 caught"
> This fix checks for rev 0 and uses then 128 bytes as inode size.
>
> Signed-off-by: Michael Brandt <Michael.Brandt at emsyso.de>
Thanks!
Dan
More information about the U-Boot
mailing list