summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:50:07 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:50:07 +0000
commite53906487ff20881f08557f2b98f4d0bbd50c2ef (patch)
tree91e774ee7ffc75afbaaed52fc34b7658e78ccee6 /cpukit/libfs
parent2003-08-04 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> (diff)
downloadrtems-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/ChangeLog5
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c5
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;
}