verity: pull up maybe_read_entry

Since the latest refactoring it is now possible to pull up maybe_read_entry.

I also removed the PENDING flag and instead just call is_populated.

TEST=Ran dm-verity.git unit tests. Ran platform_DMVerityCorruption on H/W.

kernel.git Review URL:

TBRing since already LGTMed and committed to kernel.git

Change-Id: Ie9a60325b8a1f4d40325cd0211477551c9aed488
Reviewed-by: Mandeep Singh Baines <>
Tested-by: Mandeep Singh Baines <>
3 files changed