OSDN Git Service

Actually encrypt stuff
authorPaul Lawrence <paullawrence@google.com>
Thu, 16 Jul 2015 14:54:52 +0000 (07:54 -0700)
committerPaul Lawrence <paullawrence@google.com>
Thu, 16 Jul 2015 14:54:52 +0000 (07:54 -0700)
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

ext4_utils/ext4_crypt_init_extensions.cpp

index 9b687e8..5d66419 100644 (file)
@@ -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;
     }