diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-12-10 20:12:49 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-12-10 20:12:49 +0000 |
commit | 0d1214c68ea95543468b09f7ae27bd65c8c8d7c0 (patch) | |
tree | c49b4b1278e194719e444a3327cea4d16013237e /init/builtins.cpp | |
parent | 59e5c25919e2348ef6dc01b94c9bafbfc8786633 (diff) | |
parent | 90f52df257ab020934558a811bad2ba0bae33c5a (diff) |
Merge "Set up dm-verity in EIO mode instead of logging mode"
Diffstat (limited to 'init/builtins.cpp')
-rw-r--r-- | init/builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/builtins.cpp b/init/builtins.cpp index 58dbce1eb..10f9d8171 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp @@ -642,7 +642,7 @@ static int do_sysclktz(const std::vector<std::string>& args) { static int do_verity_load_state(const std::vector<std::string>& args) { int mode = -1; int rc = fs_mgr_load_verity_state(&mode); - if (rc == 0 && mode == VERITY_MODE_LOGGING) { + if (rc == 0 && mode != VERITY_MODE_DEFAULT) { ActionManager::GetInstance().QueueEventTrigger("verity-logging"); } return rc; |