FIX: ea_size accounting is not correct after resizing. (2)
[lwext4.git] / lwext4 / ext4_inode.h
index c06c6092d1edeeb68bd7ac6302b9f2bc2ae74d43..c86bdb6feab639cc757196973f07a02ea39749f1 100644 (file)
@@ -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);
 
+/**@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