mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +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)
|
if (dir->type != V_TYPE_DIR)
|
||||||
return ENOTDIR;
|
return ENOTDIR;
|
||||||
|
|
||||||
if (node->vfs == V_TYPE_DIR)
|
if (node->type == V_TYPE_DIR)
|
||||||
return EISDIR;
|
return EISDIR;
|
||||||
|
|
||||||
tmpfsnode_t *tmpdir = (tmpfsnode_t *)dir;
|
tmpfsnode_t *tmpdir = (tmpfsnode_t *)dir;
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
#include <kernel/interrupt.h>
|
#include <kernel/interrupt.h>
|
||||||
#include <kernel/dpc.h>
|
#include <kernel/dpc.h>
|
||||||
#include <hashtable.h>
|
#include <hashtable.h>
|
||||||
#include <event.h>
|
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <kernel/block.h>
|
#include <kernel/block.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user