Changeset cde485d in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2008-06-06T20:23:02Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b7b6753
Parents:
f49b0ea
Message:

Initialize global FAT IDX structures when the FAT server starts and initialize
per-file system FAT IDX structures when a file system gets mounted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    rf49b0ea rcde485d  
    559559};
    560560
     561void fat_mounted(ipc_callid_t rid, ipc_call_t *request)
     562{
     563        dev_handle_t dev_handle = (dev_handle_t) IPC_GET_ARG1(*request);
     564        int rc;
     565
     566        rc = fat_idx_init_by_dev_handle(dev_handle);
     567        if (rc != EOK) {
     568                ipc_answer_0(rid, rc);
     569                return;
     570        }
     571
     572        ipc_answer_0(rid, EOK);
     573}
     574
     575void fat_mount(ipc_callid_t rid, ipc_call_t *request)
     576{
     577        ipc_answer_0(rid, ENOTSUP);
     578}
     579
    561580void fat_lookup(ipc_callid_t rid, ipc_call_t *request)
    562581{
Note: See TracChangeset for help on using the changeset viewer.