* 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:
@@ -997,7 +997,12 @@ Journal::Unlock(Transaction* owner, bool success)
|
|||||||
if (status != B_OK)
|
if (status != B_OK)
|
||||||
return status;
|
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);
|
fOwner->UnlockInodes(success);
|
||||||
|
fSeparateSubTransactions = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
fTimestamp = system_time();
|
fTimestamp = system_time();
|
||||||
|
|||||||
Reference in New Issue
Block a user