Changeset e2ad8e4 in mainline


Ignore:
Timestamp:
2011-02-27T20:31:49Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7de65cd
Parents:
c2eef61c
Message:

Add MinixFS superblock structure definition.

Location:
uspace/srv/fs/minixfs
Files:
1 added
3 edited

Legend:

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

    rc2eef61c re2ad8e4  
    3838 */
    3939
    40 
    41 #include "mfs_const.h"
    4240#include <ipc/services.h>
    4341#include <ipc/ns.h>
     
    4947#include <libfs.h>
    5048#include "../../vfs/vfs.h"
     49#include "mfs_const.h"
     50#include "mfs_super.h"
    5151
    5252#define NAME    "mfs"
  • uspace/srv/fs/minixfs/mfs_const.h

    rc2eef61c re2ad8e4  
    3232
    3333
    34 #ifndef _CONST_H_
    35 #define _CONST_H_
     34#ifndef _MFS_CONST_H_
     35#define _MFS_CONST_H_
    3636
    3737#include <sys/types.h>
  • uspace/srv/fs/minixfs/mfs_inode.h

    rc2eef61c re2ad8e4  
    1 #ifndef _INODE_H_
    2 #define _INODE_H_
     1#ifndef _MFS_INODE_H_
     2#define _MFS_INODE_H_
    33
    44#include "mfs_const.h"
     
    1717        /*Block nums for direct, indirect, and double indirect zones.*/
    1818        uint32_t        zone[V2_NR_TZONES];
    19 };
     19} __attribute__ ((packed));
    2020
    2121#endif
Note: See TracChangeset for help on using the changeset viewer.