Added TODO comment about a possible deadlock Marcus just found :-)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-01-12 22:49:03 +00:00
parent 7ef3cafe20
commit a825cef64b
+3
View File
@@ -1016,6 +1016,9 @@ page_writer(void* /*unused*/)
busyConditions[i].Unpublish();
mutex_unlock(&cache->lock);
// TODO: we need to release the cache references after all
// pages are made unbusy again - otherwise releasing a vnode
// could deadlock.
if (cache->store->ops->release_ref != NULL)
cache->store->ops->release_ref(cache->store);
vm_cache_release_ref(cache);