* Don't unlock the inodes before knowing that writing back the transaction
succeeded. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -123,10 +123,11 @@ public:
|
|||||||
{
|
{
|
||||||
status_t status = B_OK;
|
status_t status = B_OK;
|
||||||
if (fJournal != NULL) {
|
if (fJournal != NULL) {
|
||||||
_UnlockInodes(true);
|
|
||||||
status = fJournal->Unlock(this, true);
|
status = fJournal->Unlock(this, true);
|
||||||
if (status == B_OK)
|
if (status == B_OK) {
|
||||||
|
_UnlockInodes(true);
|
||||||
fJournal = NULL;
|
fJournal = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user