Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9fc72fb3 in mainline


Ignore:
Timestamp:
2012-05-03T17:32:06Z (10 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master
Children:
2226cc3
Parents:
e40ece98
Message:

added TODOs for comments and first part of superblock comments

Location:
uspace/lib/ext4
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_crc.c

    re40ece98 r9fc72fb3  
    3939#include "libext4.h"
    4040
    41 /** CRC table for the CRC-16. The poly is 0x8005 (x^16 + x^15 + x^2 + 1) */
     41/** CRC table for the CRC-16.
     42 *
     43 * The poly is 0x8005 (x^16 + x^15 + x^2 + 1).
     44 *
     45 */
    4246uint16_t const crc16_table[256] = {
    4347                0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241,
  • uspace/lib/ext4/libext4_extent.c

    re40ece98 r9fc72fb3  
    741741}
    742742
    743 /** TODO
    744  *
     743
     744/** Append new extent to the i-node and do some splitting if necessary.
     745 *
     746 * @param inode_ref                     i-node to append extent to
     747 * @param path                          path in the extent tree for possible splitting
     748 * @param last_path_item        input/output parameter for pointer to the last
     749 *                                                      valid item in the extent tree path
     750 * @param iblock                        logical index of block to append extent for
     751 * @return                                      error code
    745752 */
    746753static int ext4_extent_append_extent(ext4_inode_ref_t *inode_ref,
     
    926933}
    927934
     935/** TODO comment
     936 *
     937 */
    928938int ext4_extent_append_block(ext4_inode_ref_t *inode_ref,
    929939                uint32_t *iblock, uint32_t *fblock)
  • uspace/lib/ext4/libext4_filesystem.c

    re40ece98 r9fc72fb3  
    4141#include "libext4.h"
    4242
     43/** TODO comment
     44 *
     45 */
    4346int ext4_filesystem_init(ext4_filesystem_t *fs, service_id_t service_id)
    4447{
     
    9093}
    9194
     95/** TODO comment
     96 *
     97 */
    9298int ext4_filesystem_fini(ext4_filesystem_t *fs, bool write_sb)
    9399{
     
    104110}
    105111
     112/** TODO comment
     113 *
     114 */
    106115int ext4_filesystem_check_sanity(ext4_filesystem_t *fs)
    107116{
     
    116125}
    117126
     127/** TODO comment
     128 *
     129 */
    118130int ext4_filesystem_check_features(ext4_filesystem_t *fs, bool *o_read_only)
    119131{
     
    142154}
    143155
     156/** TODO comment
     157 *
     158 */
    144159int ext4_filesystem_get_block_group_ref(ext4_filesystem_t *fs, uint32_t bgid,
    145160    ext4_block_group_ref_t **ref)
     
    178193}
    179194
     195/** TODO comment
     196 *
     197 */
    180198static uint16_t ext4_filesystem_bg_checksum(ext4_superblock_t *sb, uint32_t bgid,
    181199                            ext4_block_group_t *bg)
     
    210228}
    211229
    212 
     230/** TODO comment
     231 *
     232 */
    213233int ext4_filesystem_put_block_group_ref(ext4_block_group_ref_t *ref)
    214234{
     
    230250}
    231251
     252/** TODO comment
     253 *
     254 */
    232255int ext4_filesystem_get_inode_ref(ext4_filesystem_t *fs, uint32_t index,
    233256    ext4_inode_ref_t **ref)
     
    291314}
    292315
    293 
     316/** TODO comment
     317 *
     318 */
    294319int ext4_filesystem_put_inode_ref(ext4_inode_ref_t *ref)
    295320{
     
    306331}
    307332
     333/** TODO comment
     334 *
     335 */
    308336int ext4_filesystem_alloc_inode(ext4_filesystem_t *fs,
    309337                ext4_inode_ref_t **inode_ref, int flags)
     
    379407}
    380408
     409/** TODO comment
     410 *
     411 */
    381412int ext4_filesystem_free_inode(ext4_inode_ref_t *inode_ref)
    382413{
     
    514545}
    515546
     547/** TODO comment
     548 *
     549 */
    516550int ext4_filesystem_truncate_inode(
    517551                ext4_inode_ref_t *inode_ref, aoff64_t new_size)
     
    575609}
    576610
     611/** TODO comment
     612 *
     613 */
    577614int ext4_filesystem_get_inode_data_block_index(ext4_inode_ref_t *inode_ref,
    578615                aoff64_t iblock, uint32_t *fblock)
     
    678715}
    679716
    680 
     717/** TODO comment
     718 *
     719 */
    681720int ext4_filesystem_set_inode_data_block_index(ext4_inode_ref_t *inode_ref,
    682721                aoff64_t iblock, uint32_t fblock)
     
    816855}
    817856
     857/** TODO comment
     858 *
     859 */
    818860int ext4_filesystem_release_inode_block(
    819861                ext4_inode_ref_t *inode_ref, uint32_t iblock)
     
    910952}
    911953
     954/** TODO comment
     955 *
     956 */
    912957int ext4_filesystem_append_inode_block(ext4_inode_ref_t *inode_ref,
    913958                uint32_t *fblock, uint32_t *iblock)
     
    9591004}
    9601005
     1006/** TODO comment
     1007 *
     1008 */
    9611009int ext4_filesystem_add_orphan(ext4_inode_ref_t *inode_ref)
    9621010{
     
    9711019}
    9721020
     1021/** TODO comment
     1022 *
     1023 */
    9731024int ext4_filesystem_delete_orphan(ext4_inode_ref_t *inode_ref)
    9741025{
  • uspace/lib/ext4/libext4_superblock.c

    re40ece98 r9fc72fb3  
    4242#include "libext4.h"
    4343
     44/** Get number of i-nodes in the whole filesystem.
     45 *
     46 * @param sb            superblock
     47 * @return                      number of i-nodes
     48 */
    4449uint32_t ext4_superblock_get_inodes_count(ext4_superblock_t *sb)
    4550{
     
    4752}
    4853
     54/** Set number of i-nodes in the whole filesystem.
     55 *
     56 * @param sb            superblock
     57 * @param count         number of i-nodes
     58 */
    4959void ext4_superblock_set_inodes_count(ext4_superblock_t *sb, uint32_t count)
    5060{
     
    5262}
    5363
     64/** Get number of data blocks in the whole filesystem.
     65 *
     66 * @param sb            superblock
     67 * @return                      number of data blocks
     68 */
    5469uint64_t ext4_superblock_get_blocks_count(ext4_superblock_t *sb)
    5570{
     
    5873}
    5974
     75/** Set number of data blocks in the whole filesystem.
     76 *
     77 * @param sb            superblock
     78 * @param count         number of data blocks
     79 */
    6080void ext4_superblock_set_blocks_count(ext4_superblock_t *sb, uint64_t count)
    6181{
     
    6484}
    6585
     86/** Get number of reserved data blocks in the whole filesystem.
     87 *
     88 * @param sb            superblock
     89 * @return                      number of reserved data blocks
     90 */
    6691uint64_t ext4_superblock_get_reserved_blocks_count(ext4_superblock_t *sb)
    6792{
     
    7095}
    7196
     97/** Set number of reserved data blocks in the whole filesystem.
     98 *
     99 * @param sb            superblock
     100 * @param count         number of reserved data blocks
     101 */
    72102void ext4_superblock_set_reserved_blocks_count(ext4_superblock_t *sb, uint64_t count)
    73103{
     
    76106}
    77107
     108/** Get number of free data blocks in the whole filesystem.
     109 *
     110 * @param sb            superblock
     111 * @return                      number of free data blocks
     112 */
    78113uint64_t ext4_superblock_get_free_blocks_count(ext4_superblock_t *sb)
    79114{
     
    82117}
    83118
     119/** Set number of free data blocks in the whole filesystem.
     120 *
     121 * @param sb            superblock
     122 * @param count         number of free data blocks
     123 */
    84124void ext4_superblock_set_free_blocks_count(ext4_superblock_t *sb, uint64_t count)
    85125{
     
    88128}
    89129
     130/** Get number of free i-nodes in the whole filesystem.
     131 *
     132 * @param sb            superblock
     133 * @return                      number of free i-nodes
     134 */
    90135uint32_t ext4_superblock_get_free_inodes_count(ext4_superblock_t *sb)
    91136{
     
    93138}
    94139
     140/** Set number of free i-nodes in the whole filesystem.
     141 *
     142 * @param sb            superblock
     143 * @param count         number of free i-nodes
     144 */
    95145void ext4_superblock_set_free_inodes_count(ext4_superblock_t *sb, uint32_t count)
    96146{
     
    98148}
    99149
     150/** Get index of first data block (block, where is located superblock)
     151 *
     152 * @param sb            superblock
     153 * @return                      index of the first data block
     154 */
    100155uint32_t ext4_superblock_get_first_data_block(ext4_superblock_t *sb)
    101156{
     
    103158}
    104159
     160/** Set index of first data block (block, where is located superblock)
     161 *
     162 * @param sb            superblock
     163 * @param first         index of the first data block
     164 */
    105165void ext4_superblock_set_first_data_block(ext4_superblock_t *sb, uint32_t first)
    106166{
     
    108168}
    109169
     170/** Get logarithmic block size (1024 << size == block_size)
     171 *
     172 * @param sb            superblock
     173 * @return                      logarithmic block size
     174 */
    110175uint32_t ext4_superblock_get_log_block_size(ext4_superblock_t *sb)
    111176{
     
    113178}
    114179
     180/** Set logarithmic block size (1024 << size == block_size)
     181 *
     182 * @param sb            superblock
     183 * @return                      logarithmic block size
     184 */
    115185void ext4_superblock_set_log_block_size(ext4_superblock_t *sb, uint32_t log_size)
    116186{
     
    118188}
    119189
     190/** Get size of data block (in bytes).
     191 *
     192 * @param sb            superblock
     193 * @return                      size of data block
     194 */
    120195uint32_t ext4_superblock_get_block_size(ext4_superblock_t *sb)
    121196{
     
    123198}
    124199
     200/** Set size of data block (in bytes).
     201 *
     202 * @param sb            superblock
     203 * @param size          size of data block (must be power of 2, at least 1024)
     204 */
    125205void ext4_superblock_set_block_size(ext4_superblock_t *sb, uint32_t size)
    126206{
     
    137217}
    138218
     219/** Get number of data blocks per block group (except last BG)
     220 *
     221 * @param sb            superblock
     222 * @return                      data blocks per block group
     223 */
    139224uint32_t ext4_superblock_get_blocks_per_group(ext4_superblock_t *sb)
    140225{
     
    142227}
    143228
     229/** Set number of data blocks per block group (except last BG)
     230 *
     231 * @param sb            superblock
     232 * @param blocks        data blocks per block group
     233 */
    144234void ext4_superblock_set_blocks_per_group(ext4_superblock_t *sb, uint32_t blocks)
    145235{
     
    147237}
    148238
     239/** Get number of i-nodes per block group (except last BG)
     240 *
     241 * @param sb            superblock
     242 * @return                      i-nodes per block group
     243 */
    149244uint32_t ext4_superblock_get_inodes_per_group(ext4_superblock_t *sb)
    150245{
     
    152247}
    153248
     249/** Set number of i-nodes per block group (except last BG)
     250 *
     251 * @param sb            superblock
     252 * @param inodes        i-nodes per block group
     253 */
    154254void ext4_superblock_set_inodes_per_group(ext4_superblock_t *sb, uint32_t inodes)
    155255{
     
    157257}
    158258
     259/** Get time when filesystem was mounted (POSIX time).
     260 *
     261 * @param sb            superblock
     262 * @return                      mount time
     263 */
    159264uint32_t ext4_superblock_get_mount_time(ext4_superblock_t *sb)
    160265{
     
    162267}
    163268
     269/** Set time when filesystem was mounted (POSIX time).
     270 *
     271 * @param sb            superblock
     272 * @param time          mount time
     273 */
    164274void ext4_superblock_set_mount_time(ext4_superblock_t *sb, uint32_t time)
    165275{
     
    167277}
    168278
     279/** Get time when filesystem was last accesed by write operation (POSIX time).
     280 *
     281 * @param sb            superblock
     282 * @return                      write time
     283 */
    169284uint32_t ext4_superblock_get_write_time(ext4_superblock_t *sb)
    170285{
     
    172287}
    173288
     289/** Set time when filesystem was last accesed by write operation (POSIX time).
     290 *
     291 * @param sb            superblock
     292 * @param time          write time
     293 */
    174294void ext4_superblock_set_write_time(ext4_superblock_t *sb, uint32_t time)
    175295{
     
    177297}
    178298
     299/** Get number of mount from last filesystem check.
     300 *
     301 * @param sb            superblock
     302 * @return                      number of mounts
     303 */
    179304uint16_t ext4_superblock_get_mount_count(ext4_superblock_t *sb)
    180305{
     
    182307}
    183308
     309/** Set number of mount from last filesystem check.
     310 *
     311 * @param sb            superblock
     312 * @param count         number of mounts
     313 */
    184314void ext4_superblock_set_mount_count(ext4_superblock_t *sb, uint16_t count)
    185315{
     
    187317}
    188318
     319/** Get maximum number of mount from last filesystem check.
     320 *
     321 * @param sb            superblock
     322 * @return                      maximum number of mounts
     323 */
    189324uint16_t ext4_superblock_get_max_mount_count(ext4_superblock_t *sb)
    190325{
     
    192327}
    193328
     329/** Set maximum number of mount from last filesystem check.
     330 *
     331 * @param sb            superblock
     332 * @param count         maximum number of mounts
     333 */
    194334void ext4_superblock_set_max_mount_count(ext4_superblock_t *sb, uint16_t count)
    195335{
     
    197337}
    198338
     339/** Get superblock magic value.
     340 *
     341 * @param sb            superblock
     342 * @return                      magic value
     343 */
    199344uint16_t ext4_superblock_get_magic(ext4_superblock_t *sb)
    200345{
     
    202347}
    203348
     349/** Set superblock magic value.
     350 *
     351 * @param sb            superblock
     352 * @param                       magic value
     353 */
     354void ext4_superblock_set_magic(ext4_superblock_t *sb, uint16_t magic)
     355{
     356        sb->magic = host2uint16_t_le(magic);
     357}
     358
     359/** TODO comment
     360 *
     361 */
    204362uint16_t ext4_superblock_get_state(ext4_superblock_t *sb)
    205363{
     
    207365}
    208366
     367/** TODO comment
     368 *
     369 */
    209370void ext4_superblock_set_state(ext4_superblock_t *sb, uint16_t state)
    210371{
     
    212373}
    213374
     375/** TODO comment
     376 *
     377 */
    214378uint16_t ext4_superblock_get_errors(ext4_superblock_t *sb)
    215379{
     
    217381}
    218382
     383/** TODO comment
     384 *
     385 */
    219386void ext4_superblock_set_errors(ext4_superblock_t *sb, uint16_t errors)
    220387{
     
    222389}
    223390
     391/** TODO comment
     392 *
     393 */
    224394uint16_t ext4_superblock_get_minor_rev_level(ext4_superblock_t *sb)
    225395{
     
    227397}
    228398
     399/** TODO comment
     400 *
     401 */
    229402void ext4_superblock_set_minor_rev_level(ext4_superblock_t *sb, uint16_t level)
    230403{
     
    232405}
    233406
     407/** TODO comment
     408 *
     409 */
    234410uint32_t ext4_superblock_get_last_check_time(ext4_superblock_t *sb)
    235411{
     
    237413}
    238414
     415/** TODO comment
     416 *
     417 */
    239418void ext4_superblock_set_last_check_time(ext4_superblock_t *sb, uint32_t time)
    240419{
     
    242421}
    243422
     423/** TODO comment
     424 *
     425 */
    244426uint32_t ext4_superblock_get_check_interval(ext4_superblock_t *sb){
    245427        return uint32_t_le2host(sb->check_interval);
    246428}
    247429
     430/** TODO comment
     431 *
     432 */
    248433void ext4_superblock_set_check_interval(ext4_superblock_t *sb, uint32_t interval)
    249434{
     
    251436}
    252437
     438/** TODO comment
     439 *
     440 */
    253441uint32_t ext4_superblock_get_creator_os(ext4_superblock_t *sb)
    254442{
     
    256444}
    257445
     446/** TODO comment
     447 *
     448 */
    258449void ext4_superblock_set_creator_os(ext4_superblock_t *sb, uint32_t os)
    259450{
     
    261452}
    262453
     454/** TODO comment
     455 *
     456 */
    263457uint32_t ext4_superblock_get_rev_level(ext4_superblock_t *sb)
    264458{
     
    266460}
    267461
     462/** TODO comment
     463 *
     464 */
    268465void ext4_superblock_set_rev_level(ext4_superblock_t *sb, uint32_t level)
    269466{
     
    271468}
    272469
     470/** TODO comment
     471 *
     472 */
    273473uint16_t ext4_superblock_get_def_resuid(ext4_superblock_t *sb)
    274474{
     
    276476}
    277477
     478/** TODO comment
     479 *
     480 */
    278481void ext4_superblock_set_def_resuid(ext4_superblock_t *sb, uint16_t uid)
    279482{
     
    281484}
    282485
     486/** TODO comment
     487 *
     488 */
    283489uint16_t ext4_superblock_get_def_resgid(ext4_superblock_t *sb)
    284490{
     
    286492}
    287493
     494/** TODO comment
     495 *
     496 */
    288497void ext4_superblock_set_def_resgid(ext4_superblock_t *sb, uint16_t gid)
    289498{
     
    291500}
    292501
     502/** TODO comment
     503 *
     504 */
    293505uint32_t ext4_superblock_get_first_inode(ext4_superblock_t *sb)
    294506{
     
    296508}
    297509
     510/** TODO comment
     511 *
     512 */
    298513void ext4_superblock_set_first_inode(ext4_superblock_t *sb, uint32_t first_inode)
    299514{
     
    301516}
    302517
     518/** TODO comment
     519 *
     520 */
    303521uint16_t ext4_superblock_get_inode_size(ext4_superblock_t *sb)
    304522{
     
    309527}
    310528
     529/** TODO comment
     530 *
     531 */
    311532void ext4_superblock_set_inode_size(ext4_superblock_t *sb, uint16_t size)
    312533{
     
    314535}
    315536
     537/** TODO comment
     538 *
     539 */
    316540uint16_t ext4_superblock_get_block_group_number(ext4_superblock_t *sb)
    317541{
     
    319543}
    320544
     545/** TODO comment
     546 *
     547 */
    321548void ext4_superblock_set_block_group_number(ext4_superblock_t *sb, uint16_t bg)
    322549{
     
    324551}
    325552
     553/** TODO comment
     554 *
     555 */
    326556uint32_t ext4_superblock_get_features_compatible(ext4_superblock_t *sb)
    327557{
     
    329559}
    330560
     561/** TODO comment
     562 *
     563 */
    331564void ext4_superblock_set_features_compatible(ext4_superblock_t *sb, uint32_t features)
    332565{
     
    334567}
    335568
     569/** TODO comment
     570 *
     571 */
    336572uint32_t ext4_superblock_get_features_incompatible(ext4_superblock_t *sb)
    337573{
     
    339575}
    340576
     577/** TODO comment
     578 *
     579 */
    341580void ext4_superblock_set_features_incompatible(ext4_superblock_t *sb, uint32_t features)
    342581{
     
    344583}
    345584
     585/** TODO comment
     586 *
     587 */
    346588uint32_t ext4_superblock_get_features_read_only(ext4_superblock_t *sb)
    347589{
     
    349591}
    350592
     593/** TODO comment
     594 *
     595 */
    351596void ext4_superblock_set_features_read_only(ext4_superblock_t *sb, uint32_t features)
    352597{
     
    354599}
    355600
     601/** TODO comment
     602 *
     603 */
    356604const uint8_t * ext4_superblock_get_uuid(ext4_superblock_t *sb)
    357605{
     
    359607}
    360608
     609/** TODO comment
     610 *
     611 */
    361612void ext4_superblock_set_uuid(ext4_superblock_t *sb, const uint8_t *uuid)
    362613{
     
    369620}
    370621
     622/** TODO comment
     623 *
     624 */
    371625void ext4_superblock_set_volume_name(ext4_superblock_t *sb, const char *name)
    372626{
     
    374628}
    375629
     630/** TODO comment
     631 *
     632 */
    376633const char * ext4_superblock_get_last_mounted(ext4_superblock_t *sb)
    377634{
     
    379636}
    380637
     638/** TODO comment
     639 *
     640 */
    381641void ext4_superblock_set_last_mounted(ext4_superblock_t *sb, const char *last)
    382642{
     
    384644}
    385645
    386 
     646/** TODO comment
     647 *
     648 */
    387649uint32_t ext4_superblock_get_last_orphan(ext4_superblock_t *sb)
    388650{
     
    390652}
    391653
     654/** TODO comment
     655 *
     656 */
    392657void ext4_superblock_set_last_orphan(ext4_superblock_t *sb, uint32_t last_orphan)
    393658{
     
    395660}
    396661
     662/** TODO comment
     663 *
     664 */
    397665uint32_t* ext4_superblock_get_hash_seed(ext4_superblock_t *sb)
    398666{
     
    400668}
    401669
     670/** TODO comment
     671 *
     672 */
    402673uint8_t ext4_superblock_get_default_hash_version(ext4_superblock_t *sb)
    403674{
     
    405676}
    406677
     678/** TODO comment
     679 *
     680 */
    407681void ext4_superblock_set_default_hash_version(ext4_superblock_t *sb, uint8_t version)
    408682{
     
    410684}
    411685
     686/** TODO comment
     687 *
     688 */
    412689uint16_t ext4_superblock_get_desc_size(ext4_superblock_t *sb)
    413690{
     
    421698}
    422699
     700/** TODO comment
     701 *
     702 */
    423703void ext4_superblock_set_desc_size(ext4_superblock_t *sb, uint16_t size)
    424704{
     
    426706}
    427707
     708/** TODO comment
     709 *
     710 */
    428711uint32_t ext4_superblock_get_flags(ext4_superblock_t *sb)
    429712{
     
    431714}
    432715
     716/** TODO comment
     717 *
     718 */
    433719void ext4_superblock_set_flags(ext4_superblock_t *sb, uint32_t flags)
    434720{
     
    441727 */
    442728
     729/** TODO comment
     730 *
     731 */
    443732bool ext4_superblock_has_flag(ext4_superblock_t *sb, uint32_t flag)
    444733{
     
    449738}
    450739
    451 // Feature checkers
     740/** TODO comment
     741 *
     742 */
    452743bool ext4_superblock_has_feature_compatible(ext4_superblock_t *sb, uint32_t feature)
    453744{
     
    458749}
    459750
     751/** TODO comment
     752 *
     753 */
    460754bool ext4_superblock_has_feature_incompatible(ext4_superblock_t *sb, uint32_t feature)
    461755{
     
    466760}
    467761
     762/** TODO comment
     763 *
     764 */
    468765bool ext4_superblock_has_feature_read_only(ext4_superblock_t *sb, uint32_t feature)
    469766{
     
    474771}
    475772
    476 
     773/** TODO comment
     774 *
     775 */
    477776int ext4_superblock_read_direct(service_id_t service_id,
    478777    ext4_superblock_t **superblock)
     
    498797}
    499798
     799/** TODO comment
     800 *
     801 */
    500802int ext4_superblock_write_direct(service_id_t service_id,
    501803                ext4_superblock_t *sb)
     
    521823}
    522824
    523 
     825/** TODO comment
     826 *
     827 */
    524828int ext4_superblock_check_sanity(ext4_superblock_t *sb)
    525829{
     
    537841}
    538842
     843/** TODO comment
     844 *
     845 */
    539846uint32_t ext4_superblock_get_block_group_count(ext4_superblock_t *sb)
    540847{
     
    552859}
    553860
     861/** TODO comment
     862 *
     863 */
    554864uint32_t ext4_superblock_get_blocks_in_group(ext4_superblock_t *sb, uint32_t bgid)
    555865{
     
    566876}
    567877
     878/** TODO comment
     879 *
     880 */
    568881uint32_t ext4_superblock_get_inodes_in_group(ext4_superblock_t *sb, uint32_t bgid)
    569882{
  • uspace/lib/ext4/libext4_superblock.h

    re40ece98 r9fc72fb3  
    6868extern void ext4_superblock_set_max_mount_count(ext4_superblock_t *, uint16_t);
    6969extern uint16_t ext4_superblock_get_magic(ext4_superblock_t *);
     70extern void ext4_superblock_set_magic(ext4_superblock_t *sb, uint16_t magic);
    7071extern uint16_t ext4_superblock_get_state(ext4_superblock_t *);
    7172extern void ext4_superblock_set_state(ext4_superblock_t *, uint16_t);
Note: See TracChangeset for help on using the changeset viewer.