This commit is contained in:
Matheus
2024-06-03 20:55:20 -03:00
parent b13b317172
commit 7d95b6e00d
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ static int tmpfs_link(vnode_t *node, vnode_t *dir, char *name, cred_t *cred) {
if (dir->type != V_TYPE_DIR)
return ENOTDIR;
if (node->vfs == V_TYPE_DIR)
if (node->type == V_TYPE_DIR)
return EISDIR;
tmpfsnode_t *tmpdir = (tmpfsnode_t *)dir;
-1
View File
@@ -7,7 +7,6 @@
#include <kernel/interrupt.h>
#include <kernel/dpc.h>
#include <hashtable.h>
#include <event.h>
#include <arch/cpu.h>
#include <errno.h>
#include <kernel/block.h>