Changeset 296 for trunk/kernel/vfs/vfs.c
- Timestamp:
- Jul 31, 2017, 1:59:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/vfs/vfs.c
r279 r296 154 154 error_t error; 155 155 156 vfs_dmsg("\n[INFO] %s : enter / local_c luster = %x / parent_cluster = %x\n",157 __FUNCTION__ , local_cxy , GET_CXY( dentry_xp ));156 vfs_dmsg("\n[INFO] %s : enter / local_cxy = %x / parent_xp = %l\n", 157 __FUNCTION__ , local_cxy , dentry_xp ); 158 158 159 159 // check fs type and get pointer on context … … 228 228 remote_spinlock_init( XPTR( local_cxy , &inode->main_lock ) ); 229 229 230 vfs_dmsg("\n[INFO] %s : e nter / local_cluster = %x / parent_cluster = %x\n",231 __FUNCTION__ , local_cxy , GET_CXY( dentry_xp ));230 vfs_dmsg("\n[INFO] %s : exit / child_xp = %l / parent_xp = %l\n", 231 __FUNCTION__ , XPTR( local_cxy , inode ) , dentry_xp ); 232 232 233 233 // return extended pointer on inode … … 435 435 kmem_req_t req; // request to kernel memory allocator 436 436 437 vfs_dmsg("\n[INFO] %s : enter for %s / parent inode = %x / cycle = %d\n", 438 __FUNCTION__ , name , parent , hal_time_stamp() ); 439 437 440 // get pointer on context 438 441 if ( fs_type == FS_TYPE_FATFS ) ctx = &fs_context[FS_TYPE_FATFS]; … … 481 484 // return extended pointer on dentry 482 485 *dentry_xp = XPTR( local_cxy , dentry ); 486 487 vfs_dmsg("\n[INFO] %s : exit for %s / cycle = %d\n", 488 __FUNCTION__ , name , hal_time_stamp() ); 483 489 484 490 return 0; … … 1522 1528 parent_ptr = (vfs_inode_t *)GET_PTR( parent_xp ); 1523 1529 1524 vfs_dmsg("\n[INFO] %s : enter in cluster %x / child_cxy = %x / parent_cxy = %x\n",1525 __FUNCTION__ , local_cxy , child_cxy , parent_cxy);1530 vfs_dmsg("\n[INFO] %s : enter in cluster %x for %s / child_cxy = %x / parent_xp = %l\n", 1531 __FUNCTION__ , local_cxy , name , child_cxy , parent_xp ); 1526 1532 1527 1533 // 1. create dentry … … 1611 1617 hal_remote_swd( XPTR( dentry_cxy , &dentry_ptr->child_xp ) , inode_xp ); 1612 1618 1619 vfs_dmsg("\n[INFO] %s : exit in cluster %x for %s\n", 1620 __FUNCTION__ , local_cxy , name ); 1621 1613 1622 // success : return extended pointer on child inode 1614 1623 *child_xp = inode_xp;
Note: See TracChangeset
for help on using the changeset viewer.