summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:45:46 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2003-08-05 14:45:46 +0000
commite0b7cbb4f485276a839deeca4d4b586edc6182e6 (patch)
tree9228886e4a51f4cbc9c76749cfde1eefbfed1755 /cpukit
parentdb39db45d30432699ffd31be61fb49af473cc5cc (diff)
downloadrtems-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')
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c5
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;
}