summaryrefslogtreecommitdiff
path: root/include/ext4_fs.h
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-02-01 03:18:15 +0000
committerngkaho1234 <ngkaho1234@gmail.com>2016-02-01 03:18:15 +0000
commit8b4a6cedc4a20924ed01da7609e6b158a0f15576 (patch)
treea29ee763ed3f92af78752d99f594683307ce642d /include/ext4_fs.h
parent252c506239ab570c0f671513a3b17d3a44f86b5c (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.h8
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