X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fvfs.h;h=91dcd693f9547aed736af4e0b11a0d248c65a0e2;hb=11dbd684e9a3d907d43d71a3145205f1a86992fb;hp=f2bf3212dcacd8cbe4a489d512c6d2967f8424d9;hpb=759315c5321e354458086e0fc28335c4c12ed194;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/vfs.h b/KernelLand/Kernel/include/vfs.h index f2bf3212..91dcd693 100644 --- a/KernelLand/Kernel/include/vfs.h +++ b/KernelLand/Kernel/include/vfs.h @@ -486,8 +486,9 @@ extern tVFS_Node *Inode_CacheNode(int Handle, tVFS_Node *Node); * \brief Dereferences (and removes if needed) a node from the cache * \param Handle A handle returned by Inode_GetHandle() * \param Inode Value of the Inode field of the ::tVFS_Node you want to remove + * \return -1: Error (not present), 0: Not freed, 1: Freed */ -extern void Inode_UncacheNode(int Handle, Uint64 Inode); +extern int Inode_UncacheNode(int Handle, Uint64 Inode); /** * \fn void Inode_ClearCache(int Handle) * \brief Clears the cache for a handle