diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-01-18 08:24:53 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-01-18 08:24:53 -0700 |
commit | 6bb25854a183f3d3bfa50096f910d3a3984e9834 (patch) | |
tree | 9b50ff296a3813040699a11dc9f1d4e2ce721bc2 /cursor.go | |
parent | Merge pull request #283 from mbertschler/master (diff) | |
download | dedo-6bb25854a183f3d3bfa50096f910d3a3984e9834.tar.gz dedo-6bb25854a183f3d3bfa50096f910d3a3984e9834.tar.xz |
Add truncate() and sync() on resize.
This commit fixes an issue with ext3/ext4 filesystems where metadata file size is not synced
when resizing a file. It also resizes the entire resize instead of updating the size during
individual page writes.
Thanks to @tv42 for the fix.
Diffstat (limited to 'cursor.go')
0 files changed, 0 insertions, 0 deletions