Changeset 3711e7e in mainline for uspace/lib/ext4/libext4_superblock.c
- Timestamp:
- 2011-10-05T09:35:12Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3712434
- Parents:
- cfa1a8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_superblock.c
rcfa1a8a r3711e7e 40 40 #include <libblock.h> 41 41 #include <malloc.h> 42 #include "libext4 _superblock.h"42 #include "libext4.h" 43 43 44 44 /** … … 80 80 { 81 81 return uint32_t_le2host(sb->rev_level); 82 } 83 84 /** 85 * TODO doxy 86 */ 87 uint16_t ext4_superblock_get_inode_size(ext4_superblock_t *sb) 88 { 89 if (ext4_superblock_get_rev_level(sb) == 0) { 90 return EXT4_REV0_INODE_SIZE; 91 } 92 return uint16_t_le2host(sb->inode_size); 93 } 94 95 /** 96 * TODO doxy 97 */ 98 uint32_t ext4_superblock_get_inodes_per_group(ext4_superblock_t *sb) 99 { 100 return uint32_t_le2host(sb->inodes_per_group); 82 101 } 83 102
Note:
See TracChangeset
for help on using the changeset viewer.