diff options
Diffstat (limited to 'src/FileAllocationCommand.cc')
| -rw-r--r-- | src/FileAllocationCommand.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc index 4f2021bf..2fc94481 100644 --- a/src/FileAllocationCommand.cc +++ b/src/FileAllocationCommand.cc @@ -62,7 +62,9 @@ bool FileAllocationCommand::executeInternal() Util::itos(_requestGroup->getTotalLength(), true).c_str()); _e->_fileAllocationMan->markCurrentFileAllocationEntryDone(); - _e->addCommand(_fileAllocationEntry->prepareForNextAction(_e)); + std::deque<Command*> commands; + _fileAllocationEntry->prepareForNextAction(commands, _e); + _e->addCommand(commands); _e->setNoWait(true); return true; } else { |
