commit | 90f52df257ab020934558a811bad2ba0bae33c5a | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Wed Dec 02 14:23:09 2015 +0000 |
committer | Sami Tolvanen <samitolvanen@google.com> | Wed Dec 02 14:38:01 2015 +0000 |
tree | ba3b642e6adcca487942a74432fe5fe6e83a887f | |
parent | a3892504acda9ab280db5ade66c0d961fbd936a6 [diff] |
Set up dm-verity in EIO mode instead of logging mode If the device is corrupted, set up dm-verity in EIO mode instead of logging mode. This prevents corrupted blocks from being returned to user space. Note that restart mode is used by default and a warning will be displayed to the user after corruption is first detected. Bug: 19277516 Change-Id: I38966d73eb814836bc34b4bad1192583e5010b36