Subversion Repositories HelenOS

Rev

Rev 2567 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2567 Rev 2576
Line 302... Line 302...
302
    fs_info->fs_handle = (int) atomic_postinc(&fs_handle_next);
302
    fs_info->fs_handle = (int) atomic_postinc(&fs_handle_next);
303
    ipc_answer_fast(rid, EOK, (ipcarg_t) fs_info->fs_handle, 0);
303
    ipc_answer_fast(rid, EOK, (ipcarg_t) fs_info->fs_handle, 0);
304
   
304
   
305
    futex_up(&fs_head_futex);
305
    futex_up(&fs_head_futex);
306
   
306
   
307
    dprintf("\"%s\" filesystem successfully registered, handle=%d.\n",
307
    dprintf("\"%.*s\" filesystem successfully registered, handle=%d.\n",
308
        fs_info->vfs_info.name, fs_info->fs_handle);
308
        FS_NAME_MAXLEN, fs_info->vfs_info.name, fs_info->fs_handle);
309
}
309
}
310
 
310
 
311
/** For a given file system handle, implement policy for allocating a phone.
311
/** For a given file system handle, implement policy for allocating a phone.
312
 *
312
 *
313
 * @param handle    File system handle.
313
 * @param handle    File system handle.