Re: [U-Boot] [PATCH 1/2] fs/fat: Avoid corruption of sectors following the FAT

2016-12-11 Thread Benoît Thébaudeau
Dear Stefan Brüns, On Sun, Dec 11, 2016 at 3:32 AM, Stefan Brüns wrote: > From: Stefan Brüns > > The FAT is read/flushed in segments of 6 (FATBUFBLOCKS) disk sectors. The > last segment may be less than 6 sectors, cap the length. > >

[U-Boot] [PATCH 1/2] fs/fat: Avoid corruption of sectors following the FAT

2016-12-10 Thread Stefan Brüns
From: Stefan Brüns 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 --- fs/fat/fat.c | 1 + fs/fat/fat_write.c | 22