git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel/vfs - TODO in open.c for relative symlinks
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
vfs
/
dir.c
diff --git
a/KernelLand/Kernel/vfs/dir.c
b/KernelLand/Kernel/vfs/dir.c
index
fcf361e
..
26f6f0f
100644
(file)
--- a/
KernelLand/Kernel/vfs/dir.c
+++ b/
KernelLand/Kernel/vfs/dir.c
@@
-99,15
+99,10
@@
int VFS_MkNod(const char *Path, Uint Flags)
// Free Parent
mountpt->OpenHandleCount --;
_CloseNode(parent);
-
- // Error Check
- if(ret != 0) {
- LEAVE('i', -1);
- return -1;
- }
-
- LEAVE('i', 0);
- return 0;
+
+ // Return whatever the driver said
+ LEAVE('i', ret);
+ return ret;
}
/**
UCC
git Repository :: git.ucc.asn.au