summaryrefslogtreecommitdiff
path: root/src/FallocFileAllocationIterator.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-01-11 18:35:54 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-01-11 18:35:54 +0900
commite0ea88ebcf71674ab4f56ae542f0f556cd1f434d (patch)
tree486f43cceb86527e6056c252f5b733b6cb8bbcaa /src/FallocFileAllocationIterator.cc
parent357e4b1a77132705432345e0f54ec50ab07a73ab (diff)
mingw32: Make NTFS sparse file on --file-allocation=trunc
Diffstat (limited to 'src/FallocFileAllocationIterator.cc')
-rw-r--r--src/FallocFileAllocationIterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FallocFileAllocationIterator.cc b/src/FallocFileAllocationIterator.cc
index 64d0a5ab..7c4c51fd 100644
--- a/src/FallocFileAllocationIterator.cc
+++ b/src/FallocFileAllocationIterator.cc
@@ -44,7 +44,7 @@ FallocFileAllocationIterator::FallocFileAllocationIterator
void FallocFileAllocationIterator::allocateChunk()
{
if(offset_ < totalLength_) {
- stream_->allocate(offset_, totalLength_-offset_);
+ stream_->allocate(offset_, totalLength_-offset_, false);
offset_ = totalLength_;
} else {
stream_->truncate(totalLength_);