fs: misc fixes related to symlinks

This commit is contained in:
Matheus
2023-07-05 00:07:43 -03:00
parent 3910646494
commit d4813dc277
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -361,6 +361,8 @@ static int tmpfs_symlink(vnode_t *node, char *name, vattr_t *attr, char *path, c
if (pathbuf == NULL)
return ENOMEM;
strcpy(pathbuf, path);
vnode_t *linknode = NULL;
int err = tmpfs_create(node, name, attr, V_TYPE_LINK, &linknode, cred);