VMVnodeCache::AcquireUnreferencedStoreRef(): We put the wrong vnode when ours

was already deleted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35483 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-02-15 22:18:39 +00:00
parent 386c8bad1b
commit 3795172c67
+1 -1
View File
@@ -132,7 +132,7 @@ VMVnodeCache::AcquireUnreferencedStoreRef()
// If successful, update the store's vnode pointer, so that release_ref()
// won't use a stale pointer.
if (status == B_OK && fVnodeDeleted) {
vfs_put_vnode(fVnode);
vfs_put_vnode(vnode);
status = B_BUSY;
}