Changeset b72efe8 in mainline for uspace/srv/vfs/vfs_ops.c
- Timestamp:
- 2011-06-19T14:38:59Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74464e8
- Parents:
- 1d1bb0f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
r1d1bb0f rb72efe8 325 325 * This will also give us its file system handle. 326 326 */ 327 fibril_mutex_lock(&fs_ head_lock);327 fibril_mutex_lock(&fs_list_lock); 328 328 fs_handle_t fs_handle; 329 329 recheck: … … 331 331 if (!fs_handle) { 332 332 if (flags & IPC_FLAG_BLOCKING) { 333 fibril_condvar_wait(&fs_ head_cv, &fs_head_lock);333 fibril_condvar_wait(&fs_list_cv, &fs_list_lock); 334 334 goto recheck; 335 335 } 336 336 337 fibril_mutex_unlock(&fs_ head_lock);337 fibril_mutex_unlock(&fs_list_lock); 338 338 async_answer_0(callid, ENOENT); 339 339 async_answer_0(rid, ENOENT); … … 343 343 return; 344 344 } 345 fibril_mutex_unlock(&fs_ head_lock);345 fibril_mutex_unlock(&fs_list_lock); 346 346 347 347 /* Acknowledge that we know fs_name. */
Note:
See TracChangeset
for help on using the changeset viewer.