Author: bonefish Date: 2010-07-17 17:39:39 +0200 (Sat, 17 Jul 2010) New Revision: 37552 Changeset: http://dev.haiku-os.org/changeset/37552 Modified: haiku/trunk/docs/user/drivers/fs_interface.dox Log: Added description for fs_volume_ops::get_vnode()'s _type and _flags parameters. Modified: haiku/trunk/docs/user/drivers/fs_interface.dox =================================================================== --- haiku/trunk/docs/user/drivers/fs_interface.dox 2010-07-17 12:24:57 UTC (rev 37551) +++ haiku/trunk/docs/user/drivers/fs_interface.dox 2010-07-17 15:39:39 UTC (rev 37552) @@ -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.