Changeset f2ec8c8 in mainline for uspace/srv/vfs/vfs_register.c


Ignore:
Timestamp:
2008-03-11T20:33:53Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
923c39e
Parents:
8ad8e49
Message:

Introduce fs_handle_t, dev_handle_t and fs_index_t.

File:
1 edited

Legend:

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

    r8ad8e49 rf2ec8c8  
    295295         * system a global file system handle.
    296296         */
    297         fs_info->fs_handle = (int) atomic_postinc(&fs_handle_next);
     297        fs_info->fs_handle = (fs_handle_t) atomic_postinc(&fs_handle_next);
    298298        ipc_answer_1(rid, EOK, (ipcarg_t) fs_info->fs_handle);
    299299       
     
    312312 *                      sent. Return 0 if no phone was found.
    313313 */
    314 int vfs_grab_phone(int handle)
     314int vfs_grab_phone(fs_handle_t handle)
    315315{
    316316        /*
     
    387387 * @return              File system handle or zero if file system not found.
    388388 */
    389 int fs_name_to_handle(char *name, bool lock)
     389fs_handle_t fs_name_to_handle(char *name, bool lock)
    390390{
    391391        int handle = 0;
Note: See TracChangeset for help on using the changeset viewer.