system/vold/Ext4Crypt.cpp:384:9: error: no matching function for call to 'e4crypt_policy_ensure'
if (e4crypt_policy_ensure(path.c_str(),
^~~~~
system/extras/ext4_utils/include/ext4_utils/ext4_crypt.h:28:5: note: candidate function not viable: requires 5 arguments, but 4 were provided
int e4crypt_policy_ensure(const char directory, const char policy,
^
1 error generated.
It appears there was a change to the ext4_crypt.h file which shows 5 arguments and the call in Ext4Crypt.cpp only has 4. It is missing const char *contents_encryption_mode,
system/vold/Ext4Crypt.cpp:384:9: error: no matching function for call to 'e4crypt_policy_ensure' if (e4crypt_policy_ensure(path.c_str(), ^
~~~~system/extras/ext4_utils/include/ext4_utils/ext4_crypt.h:28:5: note: candidate function not viable: requires 5 arguments, but 4 were provided int e4crypt_policy_ensure(const char directory, const char policy, ^ 1 error generated.