diff --git a/src/system/kernel/cache/vnode_store.cpp b/src/system/kernel/cache/vnode_store.cpp index e8a3abca1f..2845835327 100644 --- a/src/system/kernel/cache/vnode_store.cpp +++ b/src/system/kernel/cache/vnode_store.cpp @@ -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; }