diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2014-01-04 21:28:26 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2014-01-04 21:28:26 +0100 |
commit | 646edc594f9b1ae27390576b4f6b1f08784e32d1 (patch) | |
tree | cb61253407b8d147dd8039a72706ae62112a88a2 /firmware/target | |
parent | da94b6303ea75f2b7b8e0b08fb9a96c730c894a4 (diff) | |
download | rockbox-646edc594f9b1ae27390576b4f6b1f08784e32d1.tar.gz rockbox-646edc594f9b1ae27390576b4f6b1f08784e32d1.zip |
Fix bpb_is_sane() cluster size calculation for non-512 byte sectors.
bpb_is_sane() used to effectively multiplying the sector size (relative
to 512 bytes) twice, which meant that filesystems with e.g. 2K sectors and
32 sectors per cluster were rejected because while this adds up to 64K
clusters (i.e. the upper limit), the calculation wrongly came to 256K.
This bug tends to affect 5.5G ipods when formatted using dosfstools.
Change-Id: Ia3f1e1303b2af953f497ccdbf23cd49c3d72e46a
Diffstat (limited to 'firmware/target')
0 files changed, 0 insertions, 0 deletions