Re: [U-Boot] [PATCH 2/2] fs/fat: merge readwrite get_fatent_value() with readonly get_fatent()

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: > get_fatent_value(...) flushes changed FAT entries to disk when fetching > the next FAT blocks, in every other aspect it is identical to > get_fatent(...). > > Provide a stub implementation for

[U-Boot] [PATCH 2/2] fs/fat: merge readwrite get_fatent_value() with readonly get_fatent()

2016-12-10 Thread Stefan Brüns
get_fatent_value(...) flushes changed FAT entries to disk when fetching the next FAT blocks, in every other aspect it is identical to get_fatent(...). Provide a stub implementation for flush_dirty_fat_buffer if CONFIG_FAT_WRITE is not set. Calling flush_dirty_fat_buffer during read only operation