mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 01:44:23 +08:00
When writing to the next sector after the forward position has been written by seek, the old sector buffer is used, which may corrupt the file system. Therefore, the sector buffer must always be updated after a writing by seek. Signed-off-by: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com>