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