summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Brandt <Michael.Brandt@emsyso.de>2009-11-22 14:13:27 +0100
committerWolfgang Denk <wd@denx.de>2009-12-05 00:46:10 +0100
commit270737acca21f3939f814de5dcf350a1c3d80d83 (patch)
tree0c29ea3b1826919b3eb8fbc747be509352683bf4 /examples
parentbcb324d68f7955c1136dafc944eb55db8ebaa601 (diff)
downloadu-boot-imx-270737acca21f3939f814de5dcf350a1c3d80d83.zip
u-boot-imx-270737acca21f3939f814de5dcf350a1c3d80d83.tar.gz
u-boot-imx-270737acca21f3939f814de5dcf350a1c3d80d83.tar.bz2
EXT2FS: fix inode size for ext2fs rev#0
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"; on PowerPC "ext2ls" will print nothing. This fix checks for rev 0 and uses then 128 bytes as inode size. Signed-off-by: Michael Brandt <Michael.Brandt@emsyso.de> Tested on: TQM5200S Tested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions