* 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:
parent
877d64eeb1
commit
e542ec0575
@ -123,10 +123,11 @@ public:
|
||||
{
|
||||
status_t status = B_OK;
|
||||
if (fJournal != NULL) {
|
||||
_UnlockInodes(true);
|
||||
status = fJournal->Unlock(this, true);
|
||||
if (status == B_OK)
|
||||
if (status == B_OK) {
|
||||
_UnlockInodes(true);
|
||||
fJournal = NULL;
|
||||
}
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user