Browse Source

Add ext4_dir_checksum_verify prototype

pull/11/head
ngkaho1234 9 years ago
parent
commit
1a812a02d4
  1. 9
      lwext4/ext4_dir.h

9
lwext4/ext4_dir.h

@ -162,6 +162,15 @@ static inline void ext4_dir_entry_ll_set_inode_type(
de->in.inode_type = type;
}
/**@brief Verify checksum of a linear directory leaf block
* @param inode_ref Directory i-node
* @param dirent Linear directory leaf block
* @return true means the block passed checksum verification
*/
bool
ext4_dir_checksum_verify(struct ext4_inode_ref *inode_ref,
struct ext4_directory_entry_ll *dirent);
/**@brief Initialize directory iterator.
* Set position to the first valid entry from the required position.
* @param it Pointer to iterator to be initialized

Loading…
Cancel
Save