* 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:
Axel Dörfler 2009-07-29 11:05:13 +00:00
parent 877d64eeb1
commit e542ec0575

View File

@ -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;
}