diff options
author | Paul Lawrence <paullawrence@google.com> | 2015-07-16 07:54:52 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2015-07-16 07:54:52 -0700 |
commit | dd22cb338ad59a4766e9ee47936f1e10b386e128 (patch) | |
tree | 7d93724f88cd28c7d364e58ab7f12cde581f4df6 | |
parent | 65df483af2efcb2ab9fd82ae53f9aeaa55f0cebd (diff) | |
download | extras-dd22cb338ad59a4766e9ee47936f1e10b386e128.tar.gz |
Actually encrypt stuff
Fix really dumb error in checkin
https://googleplex-android-review.git.corp.google.com/#/c/728542
This did the opposite of what I want
Bug: 22502319
Change-Id: I502c9b62d127e6221bbc5ff1a209cb0312ec943f
-rw-r--r-- | ext4_utils/ext4_crypt_init_extensions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/ext4_crypt_init_extensions.cpp b/ext4_utils/ext4_crypt_init_extensions.cpp index 9b687e80..5d664196 100644 --- a/ext4_utils/ext4_crypt_init_extensions.cpp +++ b/ext4_utils/ext4_crypt_init_extensions.cpp @@ -144,7 +144,7 @@ int e4crypt_set_directory_policy(const char* dir) } // Don't encrypt lost+found - ext4 doesn't like it - if (strcmp(dir, "/data/lost+found")) { + if (!strcmp(dir, "/data/lost+found")) { return 0; } |