Changeset 204 for trunk/kernel/vfs/vfs.h
- Timestamp:
- Jul 17, 2017, 8:42:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/vfs/vfs.h
r188 r204 450 450 451 451 /****************************************************************************************** 452 * This debug function diplays the name of the inode identified by the <inode_xp> 453 * argument, and all children names for a directory. 454 ***************************************************************************************** 455 * @ inode_xp : extended pointer on the remote inode. 456 *****************************************************************************************/ 457 void vfs_inode_display( xptr_t inode_xp ); 458 459 460 461 462 463 464 /****************************************************************************************** 452 465 * This function TODO 453 466 *****************************************************************************************/ … … 617 630 * It can be executed by any thread running in any cluster, as this function 618 631 * uses the rpc_dentry_create_client() and rpc_inode_create client() if required. 619 * - The dentry is created in the cluster containing the existing <parent_xp> inode. 620 * - the inode and its associated mapper are created in cluster identified by <child_cxy>. 621 * - The new dentry name is defined by the <name> argument. 622 * - The new inode and the parent inode can have different FS types. 632 * This is done in three steps: 633 * 1) The dentry is created in the cluster containing the existing <parent_xp> inode. 634 * The new dentry name is defined by the <name> argument. 635 * 2) The inode and its associated mapper are created in cluster identified by <child_cxy>. 636 * The new inode and the parent inode can have different FS types. 637 * 3) The "child_xp" field in created dentry (pointing on thecreated inode) is updated. 623 638 ****************************************************************************************** 624 639 * @ child_cxy : target cluster for child inode. … … 629 644 * @ extend : fs_type_specific inode extension. 630 645 * @ child_xp : [out] buffer for extended pointer on child inode. 631 * @ return 0 if success / ENO ENT if entry not found in parent directory646 * @ return 0 if success / ENOMEM if dentry or inode cannot be created. 632 647 *****************************************************************************************/ 633 648 error_t vfs_add_child_in_parent( cxy_t child_cxy,
Note: See TracChangeset
for help on using the changeset viewer.