Changeset 052e82d in mainline for uspace/lib/ext4/libext4_inode.c
- Timestamp:
- 2011-11-07T11:50:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12b4a7f
- Parents:
- 5664cf64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_inode.c
r5664cf64 r052e82d 67 67 return ((uint64_t)uint32_t_le2host(inode->size_hi)) << 32 | 68 68 ((uint64_t)uint32_t_le2host(inode->size_lo)); 69 69 } 70 70 return uint32_t_le2host(inode->size_lo); 71 } 72 73 void ext4_inode_set_size(ext4_inode_t *inode, uint64_t value) { 74 inode->size_lo = host2uint32_t_le((value << 32) >> 32); 75 inode->size_hi = host2uint32_t_le(value >> 32); 71 76 } 72 77
Note:
See TracChangeset
for help on using the changeset viewer.