u-boot/fs
Kyle Moffett 46236b1407 fs/fat: Improve error handling
The FAT filesystem fails silently in inexplicable ways when given a
filesystem with a block-size that does not match the device sector size.
In theory this is not an unsupportable combination but requires a major
rewrite of a lot of the filesystem.  Until that occurs, the filesystem
should detect that scenario and display a helpful error message.

This scenario in particular occurred on a 512-byte blocksize FAT fs
stored in an El-Torito boot volume on a CD-ROM (2048-byte sector size).

Additionally, in many circumstances the ->block_read method will not
return a negative number to indicate an error but instead return 0 to
indicate the number of blocks successfully read (IE: None).

The FAT filesystem should defensively check to ensure that it got all of
the sectors that it asked for when reading.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
2012-01-05 20:10:37 +01:00
..
cramfs cramfs: make cramfs usable without a NOR flash 2011-05-10 22:47:32 +02:00
ext2 ext2: Cache line align indirection buffers 2012-01-05 17:12:11 +01:00
fat fs/fat: Improve error handling 2012-01-05 20:10:37 +01:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 fs/jffs2/jffs2_1pass.c: fix warning: variable ... set but not used 2011-10-09 23:24:49 +02:00
reiserfs fs/reiserfs/reiserfs.c: Fix compiler warning 2011-12-12 14:25:30 +01:00
ubifs ubifs bad superblock bug 2011-10-12 11:33:17 +02:00
yaffs2 fs/yaffs2/yaffs_guts.c: Fix GCC 4.6 compile warning (and bug) 2011-12-10 23:08:49 +01:00
Makefile UBIFS: Implement read-only UBIFS support in U-Boot 2009-03-20 22:39:15 +01:00