From 1f23605dd70c84801abf6c10d657c0ecd838ee3b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 17 Jul 2010 15:39:39 +0000 Subject: [PATCH] Added description for fs_volume_ops::get_vnode()'s _type and _flags parameters. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37552 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- docs/user/drivers/fs_interface.dox | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/user/drivers/fs_interface.dox b/docs/user/drivers/fs_interface.dox index ab5d756a4b..260bb43942 100644 --- a/docs/user/drivers/fs_interface.dox +++ b/docs/user/drivers/fs_interface.dox @@ -487,11 +487,18 @@ marked removed. The hook has to initialize \a vnode->private_node with its handle created - for the node and \a vnode->ops with the operation vector for the node. + for the node and \a vnode->ops with the operation vector for the node. It + also has to set \c *_type to the type of the node -- as in \c stat::st_mode + (the non-type bits can, but do not need to be cleared) -- and \c *_flags to + a bitwise OR of vnode flags to apply (cf. publish_vnode() for what flags + bits are possible). \param volume The volume object. \param id The ID of the node. \param vnode Pointer to a node object to be initialized. + \param _type Pointer to a variable to be set to the node's type. + \param _flags Pointer to a variable to be set to flags to apply to the + vnode. \param reenter \c true if the hook invocation has been caused by the FS itself, e.g. by invoking ::get_vnode(). \return \c B_OK if everything went fine, another error code otherwise.