diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 14:50:07 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 14:50:07 +0000 |
commit | e53906487ff20881f08557f2b98f4d0bbd50c2ef (patch) | |
tree | 91e774ee7ffc75afbaaed52fc34b7658e78ccee6 /cpukit/libfs | |
parent | 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> (diff) | |
download | rtems-e53906487ff20881f08557f2b98f4d0bbd50c2ef.tar.bz2 |
2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 439/filesystem
*src/dosfs/fat_file.c: flush temporary buffer when closing files
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/fat_file.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog index c3c2949e91..9aeccd171f 100644 --- a/cpukit/libfs/ChangeLog +++ b/cpukit/libfs/ChangeLog @@ -1,3 +1,8 @@ +2003-08-05 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> + + PR 439/filesystem + *src/dosfs/fat_file.c: flush temporary buffer when closing files + 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> PR 441/filesystem diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c index 03ec2de7bd..bc4441da06 100644 --- a/cpukit/libfs/src/dosfs/fat_file.c +++ b/cpukit/libfs/src/dosfs/fat_file.c @@ -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; } |