From: Tom Rini Date: Tue, 27 Dec 2016 18:01:21 -0500 Subject: [U-Boot] [U-Boot, v2, 2/2] fs/fat: merge readwrite get_fatent_value() with readonly get_fatent() In-Reply-To: References: Message-ID: <20161227230121.GS4248@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 17, 2016 at 12:27:51AM +0100, 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 flush_dirty_fat_buffer if > CONFIG_FAT_WRITE is not set. Calling flush_dirty_fat_buffer during read > only operation is fine as it checks if any buffers needs flushing. > > Signed-off-by: Stefan Br?ns > Reviewed-by: Beno?t Th?baudeau Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: