git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: fstat now handle symbolic link
[lunaix-os.git]
/
lunaix-os
/
kernel
/
process
/
taskfs.c
diff --git
a/lunaix-os/kernel/process/taskfs.c
b/lunaix-os/kernel/process/taskfs.c
index 2aa1ed9f83f8c4253712c47d9e9dca5320485c9a..36ed5ee28d52aef1f8a6f84e627a278bbb3a2575 100644
(file)
--- a/
lunaix-os/kernel/process/taskfs.c
+++ b/
lunaix-os/kernel/process/taskfs.c
@@
-129,7
+129,7
@@
taskfs_dirlookup(struct v_inode* this, struct v_dnode* dnode)
return ENOENT;
}
- return taskfs_mknod(dnode, pid, 0,
VFS_IFDIR
);
+ return taskfs_mknod(dnode, pid, 0,
F_FILE
);
}
static struct v_file_ops taskfs_file_ops = { .close = default_file_close,