summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat_file.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_file.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_file.h')
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libfs/src/dosfs/fat_file.h b/cpukit/libfs/src/dosfs/fat_file.h
index 01ab73ef98..30614c8f46 100644
--- a/cpukit/libfs/src/dosfs/fat_file.h
+++ b/cpukit/libfs/src/dosfs/fat_file.h
@@ -158,6 +158,7 @@ fat_file_write(rtems_filesystem_mount_table_entry_t *mt_entry,
int
fat_file_extend(rtems_filesystem_mount_table_entry_t *mt_entry,
fat_file_fd_t *fat_fd,
+ bool zero_fill,
uint32_t new_length,
uint32_t *a_length);