mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
tmpfs: misc fixes
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ int vfs_link(vnode_t *destref, char *destpath, vnode_t *linkref, char *linkpath,
|
||||
goto cleanup;
|
||||
|
||||
if (type == V_TYPE_REGULAR) {
|
||||
vnode_t *targetnode;
|
||||
vnode_t *targetnode = NULL;
|
||||
err = vfs_lookup(&targetnode, destref, destpath, NULL, 0);
|
||||
if (err) {
|
||||
VOP_RELEASE(parent);
|
||||
|
||||
Reference in New Issue
Block a user