Changeset 83937ccd in mainline for uspace/srv/fs


Ignore:
Timestamp:
2009-05-19T21:49:05Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
854c564
Parents:
27fd651
Message:

Rudimentary support for non-root mounts.

Location:
uspace/srv/fs
Files:
2 edited

Legend:

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

    r27fd651 r83937ccd  
    150150        }
    151151        fat_node_initialize(nodep);
     152        fs_node_initialize(fn);
    152153        fn->data = nodep;
    153154        nodep->bp = fn;
     
    848849                return;
    849850        }
     851        fs_node_initialize(rfn);
    850852        fat_node_t *rootp = (fat_node_t *)malloc(sizeof(fat_node_t));
    851853        if (!rootp) {
     
    887889void fat_mount(ipc_callid_t rid, ipc_call_t *request)
    888890{
    889         ipc_answer_0(rid, ENOTSUP);
     891        libfs_mount(&fat_libfs_ops, rid, request);
    890892}
    891893
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r27fd651 r83937ccd  
    251251                return NULL;
    252252        }
     253        fs_node_initialize(nodep->bp);
    253254        nodep->bp->data = nodep;        /* link the FS and TMPFS nodes */
    254255        if (!tmpfs_root_get(dev_handle))
Note: See TracChangeset for help on using the changeset viewer.