Changeset 68ed0fb in mainline for uspace/srv/fs/minixfs/mfs_super.c


Ignore:
Timestamp:
2011-03-06T14:49:59Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bc24c5e
Parents:
86d0b4b3
Message:

prepare V1/V2 superblock and write it to disk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_super.c

    r86d0b4b3 r68ed0fb  
    6868
    6969        /* initialize libblock */
    70         rc = block_init(devmap_handle, MFS_SUPER_BLOCK_SIZE);
     70        rc = block_init(devmap_handle, MFS_SUPERBLOCK_SIZE);
    7171        if (rc != EOK) {
    7272                async_answer_0(rid, rc);
     
    7575
    7676        /* prepare the superblock */
    77         rc = block_bb_read(devmap_handle, MFS_SUPER_BLOCK);
     77        rc = block_bb_read(devmap_handle, MFS_SUPERBLOCK);
    7878        if (rc != EOK) {
    7979                block_fini(devmap_handle);
Note: See TracChangeset for help on using the changeset viewer.