Changeset 01ab41b in mainline for uspace/lib/ext4/libext4_superblock.h


Ignore:
Timestamp:
2011-10-03T11:57:14Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9c0c0e1
Parents:
54935cf6
Message:

added more methods needed during ext4 mounting (also copied from ext2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_superblock.h

    r54935cf6 r01ab41b  
    3434#define LIBEXT4_LIBEXT4_SUPERBLOCK_H_
    3535
     36#include <libblock.h>
    3637#include <sys/types.h>
    3738
     
    140141} __attribute__((packed)) ext4_superblock_t;
    141142
     143// TODO constants
     144#define EXT4_SUPERBLOCK_MAGIC           0xEF53
     145#define EXT4_SUPERBLOCK_SIZE            1024
     146#define EXT4_SUPERBLOCK_OFFSET          1024
     147
     148extern uint32_t ext4_superblock_get_block_size_log2(ext4_superblock_t *);
     149extern uint32_t ext4_superblock_get_block_size(ext4_superblock_t *);
     150
     151extern int ext4_superblock_read_direct(service_id_t, ext4_superblock_t **);
     152extern int ext4_superblock_check_sanity(ext4_superblock_t *);
    142153
    143154#endif
Note: See TracChangeset for help on using the changeset viewer.