mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:35:38 +08:00
2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem *src/dosfs/fat_file.c: flush temporary buffer when closing files
This commit is contained in:
@@ -228,6 +228,11 @@ fat_file_close(
|
||||
free(fat_fd);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* flush any modified "cached" buffer back to disk
|
||||
*/
|
||||
rc = fat_buf_release(fs_info);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user