Changeset a6e094f in mainline for uspace/srv/fs/minixfs/mfs_inode.h


Ignore:
Timestamp:
2011-03-01T18:34:30Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
85d32df7
Parents:
128b8ee
Message:

Drop code copied from minix3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_inode.h

    r128b8ee ra6e094f  
    3737#include "mfs_const.h"
    3838
    39 /*Declaration of the V2 inode as it is on disk.*/
     39/*Declaration of the MinixFS V2 inode as it is on disk.*/
    4040
    4141struct mfs_v2_inode {
    42         uint16_t        mode;           /*File type, protection, etc.*/
    43         uint16_t        n_links;        /*How many links to this file.*/
    44         int16_t         uid;            /*User id of the file owner.*/
    45         uint16_t        gid;            /*Group number.*/
    46         int32_t         size;           /*Current file size in bytes.*/
    47         int32_t         atime;          /*When was file data last accessed.*/
    48         int32_t         mtime;          /*When was file data last changed.*/
    49         int32_t         ctime;          /*When was inode data last changed.*/
    50         /*Block nums for direct, indirect, and double indirect zones.*/
    51         uint32_t        zone[V2_NR_TZONES];
     42        uint16_t        i_mode;
     43        uint16_t        i_nlinks;
     44        int16_t         i_uid;
     45        uint16_t        i_gid;
     46        int32_t         i_size;
     47        int32_t         i_atime;
     48        int32_t         i_mtime;
     49        int32_t         i_ctime;
     50        /*Block numbers for direct zones*/
     51        uint32_t        dzone[V2_NR_DIRECT_ZONES];
     52        /*Block numbers for indirect zones*/
     53        uint32_t        izone[V2_NR_INDIRECT_ZONES];
    5254} __attribute__ ((packed));
    5355
Note: See TracChangeset for help on using the changeset viewer.