summaryrefslogtreecommitdiff
path: root/src/SingleFileAllocationIterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SingleFileAllocationIterator.cc')
-rw-r--r--src/SingleFileAllocationIterator.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/SingleFileAllocationIterator.cc b/src/SingleFileAllocationIterator.cc
index 420ff699..a12df5db 100644
--- a/src/SingleFileAllocationIterator.cc
+++ b/src/SingleFileAllocationIterator.cc
@@ -56,11 +56,7 @@ SingleFileAllocationIterator::SingleFileAllocationIterator
offset_(offset),
totalLength_(totalLength),
buffer_(0)
-{
- if(offset_%ALIGNMENT != 0) {
- stream_->disableDirectIO();
- }
-}
+{}
SingleFileAllocationIterator::~SingleFileAllocationIterator()
{