Changeset ebcaff4 in mainline for uspace/lib/ext4/libext4_superblock.c


Ignore:
Timestamp:
2011-12-03T10:42:28Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2449396
Parents:
1e48a07e
Message:

Orphaned inodes handling

File:
1 edited

Legend:

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

    r1e48a07e rebcaff4  
    354354}
    355355
     356uint32_t ext4_superblock_get_last_orphan(ext4_superblock_t *sb)
     357{
     358        return uint32_t_le2host(sb->last_orphan);
     359}
     360
     361void ext4_superblock_set_last_orphan(ext4_superblock_t *sb, uint32_t last_orphan)
     362{
     363        sb->last_orphan = host2uint32_t_le(last_orphan);
     364}
     365
    356366uint32_t* ext4_superblock_get_hash_seed(ext4_superblock_t *sb)
    357367{
Note: See TracChangeset for help on using the changeset viewer.