Subversion Repositories HelenOS

Rev

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

Rev 2549 Rev 2567
Line 231... Line 231...
231
    }
231
    }
232
 
232
 
233
    /*
233
    /*
234
     * Add fs_info to the list of registered FS's.
234
     * Add fs_info to the list of registered FS's.
235
     */
235
     */
236
    dprintf("Adding FS into the registered list.\n");
236
    dprintf("Inserting FS into the list of registered file systems.\n");
237
    list_append(&fs_info->fs_link, &fs_head);
237
    list_append(&fs_info->fs_link, &fs_head);
238
 
238
 
239
    /*
239
    /*
240
     * ACK receiving a properly formatted, non-duplicit vfs_info.
-
 
241
     */
-
 
242
    ipc_answer_fast(callid, EOK, 0, 0);
-
 
243
   
-
 
244
    /*
-
 
245
     * Now we want the client to send us the IPC_M_CONNECT_TO_ME call so
240
     * Now we want the client to send us the IPC_M_CONNECT_TO_ME call so
246
     * that a callback connection is created and we have a phone through
241
     * that a callback connection is created and we have a phone through
247
     * which to forward VFS requests to it.
242
     * which to forward VFS requests to it.
248
     */
243
     */
249
    callid = async_get_call(&call);
244
    callid = async_get_call(&call);
Line 309... Line 304...
309
   
304
   
310
    futex_up(&fs_head_futex);
305
    futex_up(&fs_head_futex);
311
   
306
   
312
    dprintf("\"%s\" filesystem successfully registered, handle=%d.\n",
307
    dprintf("\"%s\" filesystem successfully registered, handle=%d.\n",
313
        fs_info->vfs_info.name, fs_info->fs_handle);
308
        fs_info->vfs_info.name, fs_info->fs_handle);
314
 
-
 
315
}
309
}
316
 
310
 
317
/** 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.
318
 *
312
 *
319
 * @param handle    File system handle.
313
 * @param handle    File system handle.