diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 14:45:46 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2003-08-05 14:45:46 +0000 |
commit | e0b7cbb4f485276a839deeca4d4b586edc6182e6 (patch) | |
tree | 9228886e4a51f4cbc9c76749cfde1eefbfed1755 /cpukit/libfs/src/dosfs/fat_file.c | |
parent | 2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> (diff) | |
download | rtems-e0b7cbb4f485276a839deeca4d4b586edc6182e6.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/src/dosfs/fat_file.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/fat_file.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |