* Transaction::UnlockInodes() may start a new transaction, but we cannot reuse
the one just closed anymore. The fSeparateSubTransactions mechanism should make sure that this won't happen. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31954 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d280260742
commit
0f779d495b
|
@ -997,7 +997,12 @@ Journal::Unlock(Transaction* owner, bool success)
|
|||
if (status != B_OK)
|
||||
return status;
|
||||
|
||||
// Unlocking the inodes might trigger new transactions, but we
|
||||
// cannot reuse the current one anymore, as this one is already
|
||||
// closed.
|
||||
fSeparateSubTransactions = true;
|
||||
fOwner->UnlockInodes(success);
|
||||
fSeparateSubTransactions = false;
|
||||
}
|
||||
|
||||
fTimestamp = system_time();
|
||||
|
|
Loading…
Reference in New Issue