Kernel/vfs - TODO in open.c for relative symlinks
[tpg/acess2.git] / KernelLand / Kernel / vfs / dir.c
index fcf361e..26f6f0f 100644 (file)
@@ -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