Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    rb72efe8 r79ae36dd  
    325325         * This will also give us its file system handle.
    326326         */
    327         fibril_mutex_lock(&fs_list_lock);
     327        fibril_mutex_lock(&fs_head_lock);
    328328        fs_handle_t fs_handle;
    329329recheck:
     
    331331        if (!fs_handle) {
    332332                if (flags & IPC_FLAG_BLOCKING) {
    333                         fibril_condvar_wait(&fs_list_cv, &fs_list_lock);
     333                        fibril_condvar_wait(&fs_head_cv, &fs_head_lock);
    334334                        goto recheck;
    335335                }
    336336               
    337                 fibril_mutex_unlock(&fs_list_lock);
     337                fibril_mutex_unlock(&fs_head_lock);
    338338                async_answer_0(callid, ENOENT);
    339339                async_answer_0(rid, ENOENT);
     
    343343                return;
    344344        }
    345         fibril_mutex_unlock(&fs_list_lock);
     345        fibril_mutex_unlock(&fs_head_lock);
    346346       
    347347        /* Acknowledge that we know fs_name. */
Note: See TracChangeset for help on using the changeset viewer.