Changeset d3cce52 in mainline
- Timestamp:
- 2010-12-26T17:21:16Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d3a1ade3
- Parents:
- c1c0184
- Location:
- uspace/srv/vfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
rc1c0184 rd3cce52 54 54 vfs_info_t vfs_info; 55 55 fs_handle_t fs_handle; 56 fibril_mutex_t phone_lock;57 56 async_sess_t session; 58 57 } fs_info_t; -
uspace/srv/vfs/vfs_register.c
rc1c0184 rd3cce52 138 138 139 139 link_initialize(&fs_info->fs_link); 140 fibril_mutex_initialize(&fs_info->phone_lock);141 140 fs_info->vfs_info = *vfs_info; 142 141 free(vfs_info); … … 275 274 if (fs->fs_handle == handle) { 276 275 fibril_mutex_unlock(&fs_head_lock); 277 fibril_mutex_lock(&fs->phone_lock);278 276 phone = async_transaction_begin(&fs->session); 279 fibril_mutex_unlock(&fs->phone_lock);280 277 281 278 assert(phone > 0); … … 301 298 if (fs->fs_handle == handle) { 302 299 fibril_mutex_unlock(&fs_head_lock); 303 fibril_mutex_lock(&fs->phone_lock);304 300 async_transaction_end(&fs->session, phone); 305 fibril_mutex_unlock(&fs->phone_lock);306 301 return; 307 302 }
Note:
See TracChangeset
for help on using the changeset viewer.