FAT: clean up cluster arithmetic
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 17:25:41 +0000 (09:25 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 17:25:41 +0000 (09:25 -0800)
commite7dc052ed537428dc69fcf18ef354e9e00973003
tree9425f91be353b221bd98885c9e8e78cf58286bb3
parent21ec7e06f96074a6dce3a256120e58a770bb7b1e
FAT: clean up cluster arithmetic

a) clean up the computation of the FAT12 FAT entry offset.
b) the highest allocatable cluster is ...ff6, not ...ff0.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/fat/fat.c