mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user