commit | 58bf86f75040bb391a49affb8864183374bf4f42 | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Sat Dec 17 00:27:50 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Tue Dec 27 11:24:13 2016 -0500 |
tree | 92e632f3ade5970513c8e6058f3946196a19d98b | |
parent | 80d0a139fdd83aa7f2b8929c89e97f38b70d4aba [diff] |
fs/fat: Avoid corruption of sectors following the FAT The FAT is read/flushed in segments of 6 (FATBUFBLOCKS) disk sectors. The last segment may be less than 6 sectors, cap the length. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>