From 989fec27690758ad1e6c521713f1a88c50c9c857 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 5 Oct 2016 18:01:19 -0700 Subject: [PATCH] Update the header path for ext4_utils. Test: mmma system/vold Change-Id: I805b8874b05b8043390c2cd3c143cc469913c067 --- Android.mk | 1 - Ext4Crypt.cpp | 4 ++-- cryptfs.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Android.mk b/Android.mk index a0aa0e7..3d99a02 100644 --- a/Android.mk +++ b/Android.mk @@ -33,7 +33,6 @@ common_src_files := \ secontext.cpp \ common_c_includes := \ - system/extras/ext4_utils \ system/extras/f2fs_utils \ external/scrypt/lib/crypto \ frameworks/native/include \ diff --git a/Ext4Crypt.cpp b/Ext4Crypt.cpp index 1158475..e195042 100644 --- a/Ext4Crypt.cpp +++ b/Ext4Crypt.cpp @@ -40,13 +40,13 @@ #include #include "cryptfs.h" -#include "ext4_crypt.h" -#include "key_control.h" #define EMULATED_USES_SELINUX 0 #define MANAGE_MISC_DIRS 0 #include +#include +#include #include #include diff --git a/cryptfs.c b/cryptfs.c index eb9a8ed..dc6ed4c 100644 --- a/cryptfs.c +++ b/cryptfs.c @@ -38,7 +38,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -57,7 +58,6 @@ #include "VoldUtil.h" #include "crypto_scrypt.h" #include "Ext4Crypt.h" -#include "ext4_utils.h" #include "f2fs_sparseblock.h" #include "CheckBattery.h" #include "Process.h"