Incorrect vfs_put_vnode(). Missed that one when changing from
vfs_get_vnode() to vfs_lookup_vnode(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20971 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
46a92976fd
commit
84498b0ddc
|
@ -1744,7 +1744,6 @@ fssh_file_cache_create(fssh_mount_id mountID, fssh_vnode_id vnodeID,
|
||||||
if (error != FSSH_B_OK) {
|
if (error != FSSH_B_OK) {
|
||||||
fssh_dprintf("file_cache_create(): Failed to init mutex: %s\n",
|
fssh_dprintf("file_cache_create(): Failed to init mutex: %s\n",
|
||||||
fssh_strerror(error));
|
fssh_strerror(error));
|
||||||
vfs_put_vnode(ref->node);
|
|
||||||
delete ref;
|
delete ref;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue