* Don't reset fSeparateSubTransactions but restore its previous value. This

fixes bug #4201.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-08-10 14:20:59 +00:00
parent c8c436f571
commit bce831ef4a
1 changed files with 2 additions and 1 deletions

View File

@ -1000,9 +1000,10 @@ Journal::Unlock(Transaction* owner, bool success)
// Unlocking the inodes might trigger new transactions, but we
// cannot reuse the current one anymore, as this one is already
// closed.
bool separateSubTransactions = fSeparateSubTransactions;
fSeparateSubTransactions = true;
fOwner->UnlockInodes(success);
fSeparateSubTransactions = false;
fSeparateSubTransactions = separateSubTransactions;
}
fTimestamp = system_time();