FAT: deal with non-mirrored FATs for FAT32
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 19:34:33 +0000 (11:34 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 19:34:33 +0000 (11:34 -0800)
commit217683b7fca9672293d997829fdbc25d7f667e79
tree19837028a0d7dd0d5b797846c0340052dcfcd20a
parent67cd8b349590cc0090dffc6ef7439378d8e71206
FAT: deal with non-mirrored FATs for FAT32

FAT32 has the option of non-mirrored FATs, used to improve atomicity
of some operations.  If we have non-mirrored FATs, we need to make
sure to read the one FAT which is currently marked active.

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