projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: ea_size accounting is not correct after resizing. (2)
[lwext4.git]
/
lwext4
/
ext4_inode.h
diff --git
a/lwext4/ext4_inode.h
b/lwext4/ext4_inode.h
index c06c6092d1edeeb68bd7ac6302b9f2bc2ae74d43..c86bdb6feab639cc757196973f07a02ea39749f1 100644
(file)
--- a/
lwext4/ext4_inode.h
+++ b/
lwext4/ext4_inode.h
@@
-245,6
+245,13
@@
uint32_t ext4_inode_get_indirect_block(struct ext4_inode *inode, uint32_t idx);
void ext4_inode_set_indirect_block(struct ext4_inode *inode, uint32_t idx,
uint32_t block);
void ext4_inode_set_indirect_block(struct ext4_inode *inode, uint32_t idx,
uint32_t block);
+/**@brief return the type of i-node
+ * @param sb Superblock
+ * @param inode I-node to return the type of
+ * @return Result of check operation
+ */
+uint32_t ext4_inode_type(struct ext4_sblock *sb, struct ext4_inode *inode);
+
/**@brief Check if i-node has specified type.
* @param sb Superblock
* @param inode I-node to check type of
/**@brief Check if i-node has specified type.
* @param sb Superblock
* @param inode I-node to check type of