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:
+1
-1
@@ -132,7 +132,7 @@ VMVnodeCache::AcquireUnreferencedStoreRef()
|
|||||||
// If successful, update the store's vnode pointer, so that release_ref()
|
// If successful, update the store's vnode pointer, so that release_ref()
|
||||||
// won't use a stale pointer.
|
// won't use a stale pointer.
|
||||||
if (status == B_OK && fVnodeDeleted) {
|
if (status == B_OK && fVnodeDeleted) {
|
||||||
vfs_put_vnode(fVnode);
|
vfs_put_vnode(vnode);
|
||||||
status = B_BUSY;
|
status = B_BUSY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user