Changeset 566 for trunk/kernel/syscalls/sys_stat.c
- Timestamp:
- Oct 4, 2018, 11:50:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_stat.c
r509 r566 35 35 36 36 ///////////////////////////////////// 37 int sys_stat( c onst char* pathname,37 int sys_stat( char * pathname, 38 38 struct stat * u_stat ) 39 39 { … … 79 79 80 80 // get extended pointer on cwd inode 81 xptr_t cwd_xp = hal_remote_l wd( XPTR( ref_cxy , &ref_ptr->vfs_cwd_xp ) );81 xptr_t cwd_xp = hal_remote_l64( XPTR( ref_cxy , &ref_ptr->vfs_cwd_xp ) ); 82 82 83 83 // get the cwd lock in read mode from reference process 84 remote_rwlock_rd_ lock( XPTR( ref_cxy , &ref_ptr->cwd_lock ) );84 remote_rwlock_rd_acquire( XPTR( ref_cxy , &ref_ptr->cwd_lock ) ); 85 85 86 86 // get extended pointer on remote file descriptor … … 91 91 92 92 // release the cwd lock 93 remote_rwlock_rd_ unlock( XPTR( ref_cxy , &ref_ptr->cwd_lock ) );93 remote_rwlock_rd_release( XPTR( ref_cxy , &ref_ptr->cwd_lock ) ); 94 94 95 95 if( error )
Note: See TracChangeset
for help on using the changeset viewer.