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.

BUG=chromium-os:13872
TEST=Ran dm-verity.git unit tests. Ran platform_DMVerityCorruption on H/W.

kernel.git Review URL: http://codereview.chromium.org/6883252

Already LGTMed and committed to kernel.git

In addition to the kernel.git change, I needed to modify the tests.

Change-Id: Ida05ede9823893378ca2c25cfb75fac7c418d478
Reviewed-on: http://gerrit.chromium.org/gerrit/4337
Reviewed-by: Paul Taysom <taysom@google.com>
Reviewed-by: Will Drewry <wad@chromium.org>
Tested-by: Mandeep Singh Baines <msb@chromium.org>
3 files changed