ref: e5f33a98b0385a0281138abb60645db92f309e8a
parent: 93593daf7f4cdd35de4b3676138a65f8a75766a3
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Thu Oct 29 14:29:20 EDT 2015
Do not verify checksum upon seeking in the directory.
--- a/lwext4/ext4_dir.c
+++ b/lwext4/ext4_dir.c
@@ -250,18 +250,6 @@
it->current_block.lb_id = 0;
return rc;
}
-
- if (!ext4_dir_checksum_verify(
- it->inode_ref,
- (struct ext4_directory_entry_ll *)
- it->current_block.data)) {
- ext4_dbg(DEBUG_DIR,
- DBG_WARN "Leaf block checksum failed."
- "Inode: %" PRIu32", "
- "Block: %" PRIu32"\n",
- it->inode_ref->index,
- next_block_idx);
- }
}
it->current_offset = pos;