X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fvfs.h;h=b746d0e7db0a7a4ac7826013c5a50afde2434b1f;hb=700d4228ad14b3a7406eefc9a58735748c254d42;hp=7d0a26db706064a9c2435dab633b6199cf7fa74e;hpb=880dd63bfcba522dab0a75cc63fdec1d04ff8c89;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/vfs.h b/KernelLand/Kernel/include/vfs.h index 7d0a26db..b746d0e7 100644 --- a/KernelLand/Kernel/include/vfs.h +++ b/KernelLand/Kernel/include/vfs.h @@ -307,19 +307,18 @@ struct sVFS_NodeType * \brief Relink (Rename/Remove) a file/directory * \param Node Pointer to this node * \param OldName Name of the item to move/delete - * \param NewName New name (or NULL if unlinking is wanted) * \return Zero on Success, non-zero on error (see errno.h) */ - int (*Relink)(struct sVFS_Node *Node, const char *OldName, const char *NewName); + int (*Unlink)(struct sVFS_Node *Node, const char *OldName); /** * \brief Link a node to a name * \param Node Pointer to this node (directory) - * \param Child Node to create a new link to * \param NewName Name for the new link + * \param Child Node to create a new link to * \retur Zeron on success, non-zero on error (see errno.h) */ - int (*Link)(struct sVFS_Node *Node, struct sVFS_Node *Child, const char *NewName); + int (*Link)(struct sVFS_Node *Node, const char *NewName, struct sVFS_Node *Child); /** * \}