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
VFS - Rework to remove function pointers from tVFS_Node
[tpg/acess2.git]
/
Kernel
/
include
/
vfs_int.h
diff --git
a/Kernel/include/vfs_int.h
b/Kernel/include/vfs_int.h
index
4961f08
..
75de88b
100644
(file)
--- a/
Kernel/include/vfs_int.h
+++ b/
Kernel/include/vfs_int.h
@@
-54,4
+54,13
@@
extern int VFS_CheckACL(tVFS_Node *Node, Uint Permissions);
// --- mount.c ---
extern tVFS_Mount *VFS_GetMountByIdent(Uint32 MountID);
// --- mount.c ---
extern tVFS_Mount *VFS_GetMountByIdent(Uint32 MountID);
+
+// --- VFS Helpers ---
+static inline void _CloseNode(tVFS_Node *Node)
+{
+ if(Node && Node->Type && Node->Type->Close)
+ Node->Type->Close( Node );
+}
+
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au