Changeset 566 for trunk/kernel/syscalls/sys_getcwd.c
- Timestamp:
- Oct 4, 2018, 11:50:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_getcwd.c
r506 r566 80 80 81 81 // get CWD lock in read mode 82 remote_rwlock_rd_ lock( XPTR( ref_cxy , &ref_ptr->cwd_lock ) );82 remote_rwlock_rd_acquire( XPTR( ref_cxy , &ref_ptr->cwd_lock ) ); 83 83 84 84 // call relevant VFS function … … 86 86 kbuf , CONFIG_VFS_MAX_PATH_LENGTH ); 87 87 88 // release CWD lock 89 remote_rwlock_rd_ unlock( XPTR( ref_cxy , &ref_ptr->cwd_lock ) );88 // release CWD lock in read mode 89 remote_rwlock_rd_release( XPTR( ref_cxy , &ref_ptr->cwd_lock ) ); 90 90 91 91 // copy kernel buffer to user space
Note: See TracChangeset
for help on using the changeset viewer.