diff --git a/fs_mgr/libfs_avb/avb_util.cpp b/fs_mgr/libfs_avb/avb_util.cpp index 90b65ce4c..4883826c7 100644 --- a/fs_mgr/libfs_avb/avb_util.cpp +++ b/fs_mgr/libfs_avb/avb_util.cpp @@ -79,9 +79,8 @@ bool ConstructVerityTable(const FsAvbHashtreeDescriptor& hashtree_desc, // Always use ignore_zero_blocks. target.IgnoreZeroBlocks(); - if (hashtree_desc.flags & AVB_HASHTREE_DESCRIPTOR_FLAGS_CHECK_AT_MOST_ONCE) { - target.CheckAtMostOnce(); - } + // Always check only once + target.CheckAtMostOnce(); LINFO << "Built verity table: '" << target.GetParameterString() << "'";