summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-07 16:31:15 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-11 13:58:43 +0200
commit3d0c96c7f34204aa4386cd9c1cd4a3e7977d52a0 (patch)
tree1fd0314bc888815401bead7e9c59cf9e15b7ae67 /cpukit/libfs/src/dosfs/fat.h
parentFilesystem: PR1871: Fix O_APPEND (diff)
downloadrtems-3d0c96c7f34204aa4386cd9c1cd4a3e7977d52a0.tar.bz2
Filesystem: PR1893: Fix write and truncate handler
Space that grows due to truncate or write offsets beyond the current file size must be zero filled.
Diffstat (limited to 'cpukit/libfs/src/dosfs/fat.h')
-rw-r--r--cpukit/libfs/src/dosfs/fat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h
index 204095cae2..e55d23d845 100644
--- a/cpukit/libfs/src/dosfs/fat.h
+++ b/cpukit/libfs/src/dosfs/fat.h
@@ -465,6 +465,12 @@ _fat_block_write(rtems_filesystem_mount_table_entry_t *mt_entry,
const void *buff);
int
+_fat_block_zero(rtems_filesystem_mount_table_entry_t *mt_entry,
+ uint32_t start,
+ uint32_t offset,
+ uint32_t count);
+
+int
_fat_block_release(rtems_filesystem_mount_table_entry_t *mt_entry);
ssize_t