* Fix potential deadlock in file system

see http://www.freelists.org/archives/haiku-gsoc/08-2008/msg00024.html
for more details.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Salvatore Benedetto
2008-08-18 21:48:21 +00:00
parent 5d6a2a65da
commit d6b39cd1a2
@@ -121,8 +121,8 @@ public:
void Done() void Done()
{ {
if (fJournal != NULL) { if (fJournal != NULL) {
fJournal->Unlock(this, true);
_UnlockInodes(); _UnlockInodes();
fJournal->Unlock(this, true);
} }
fJournal = NULL; fJournal = NULL;
} }