Skip to content

Commit

Permalink
Snap for 7588338 from b5f0996 to sc-release
Browse files Browse the repository at this point in the history
Change-Id: Id04d87fa9134205889d29a358c91e2e7e583f9b4
  • Loading branch information
Android Build Coastguard Worker committed Jul 28, 2021
2 parents 4aa1ab6 + b5f0996 commit 26f0c1a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions payload_consumer/filesystem_verifier_action.cc
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,10 @@ void FilesystemVerifierAction::StartPartitionHashing() {

offset_ = 0;
filesystem_data_end_ = partition_size_;
CHECK_LE(partition.hash_tree_offset, partition.fec_offset)
<< " Hash tree is expected to come before FEC data";
if (partition.fec_offset > 0) {
CHECK_LE(partition.hash_tree_offset, partition.fec_offset)
<< " Hash tree is expected to come before FEC data";
}
if (partition.hash_tree_offset != 0) {
filesystem_data_end_ = partition.hash_tree_offset;
} else if (partition.fec_offset != 0) {
Expand Down

0 comments on commit 26f0c1a

Please sign in to comment.