* 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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user