Subversion Repositories HelenOS

Rev

Rev 4566 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4566 Rev 4567
Line 267... Line 267...
267
     * system a global file system handle.
267
     * system a global file system handle.
268
     */
268
     */
269
    fs_info->fs_handle = (fs_handle_t) atomic_postinc(&fs_handle_next);
269
    fs_info->fs_handle = (fs_handle_t) atomic_postinc(&fs_handle_next);
270
    ipc_answer_1(rid, EOK, (ipcarg_t) fs_info->fs_handle);
270
    ipc_answer_1(rid, EOK, (ipcarg_t) fs_info->fs_handle);
271
   
271
   
272
    fibril_condvar_signal(&fs_head_cv);
272
    fibril_condvar_broadcast(&fs_head_cv);
273
    fibril_mutex_unlock(&fs_head_lock);
273
    fibril_mutex_unlock(&fs_head_lock);
274
   
274
   
275
    dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
275
    dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
276
        FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
276
        FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
277
}
277
}