diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-07 16:31:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-11 13:58:43 +0200 |
commit | 3d0c96c7f34204aa4386cd9c1cd4a3e7977d52a0 (patch) | |
tree | 1fd0314bc888815401bead7e9c59cf9e15b7ae67 /cpukit/libfs/src/dosfs/fat_fat_operations.h | |
parent | Filesystem: PR1871: Fix O_APPEND (diff) | |
download | rtems-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_fat_operations.h')
-rw-r--r-- | cpukit/libfs/src/dosfs/fat_fat_operations.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/fat_fat_operations.h b/cpukit/libfs/src/dosfs/fat_fat_operations.h index d516057ad0..be997980d7 100644 --- a/cpukit/libfs/src/dosfs/fat_fat_operations.h +++ b/cpukit/libfs/src/dosfs/fat_fat_operations.h @@ -43,7 +43,8 @@ fat_scan_fat_for_free_clusters( uint32_t *chain, uint32_t count, uint32_t *cls_added, - uint32_t *last_cl + uint32_t *last_cl, + bool zero_fill ); int |