diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2016-02-01 03:18:15 +0000 |
|---|---|---|
| committer | ngkaho1234 <ngkaho1234@gmail.com> | 2016-02-01 03:18:15 +0000 |
| commit | 8b4a6cedc4a20924ed01da7609e6b158a0f15576 (patch) | |
| tree | a29ee763ed3f92af78752d99f594683307ce642d /include/ext4_fs.h | |
| parent | 252c506239ab570c0f671513a3b17d3a44f86b5c (diff) | |
Relocate other in-memory data structures from ext4_types.h
These include ext4_inode_ref, ext4_dir_iter, ext4_dir_search_result
and ext4_dir_idx_block.
Diffstat (limited to 'include/ext4_fs.h')
| -rw-r--r-- | include/ext4_fs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/ext4_fs.h b/include/ext4_fs.h index ba55da9..06eea0e 100644 --- a/include/ext4_fs.h +++ b/include/ext4_fs.h @@ -77,6 +77,14 @@ struct ext4_block_group_ref { bool dirty; }; +struct ext4_inode_ref { + struct ext4_block block; + struct ext4_inode *inode; + struct ext4_fs *fs; + uint32_t index; + bool dirty; +}; + /**@brief Convert block address to relative index in block group. * @param sb Superblock pointer |
