diff options
author | Paul Crowley <paulcrowley@google.com> | 2019-10-29 14:16:57 -0700 |
---|---|---|
committer | Paul Crowley <paulcrowley@google.com> | 2019-10-29 16:24:10 -0700 |
commit | b11b8159e91a33831b8032cc9182f8c03ab09553 (patch) | |
tree | 79f326970babc053931bf79200e387c3153ee436 /libfscrypt/fscrypt.cpp | |
parent | 925804c49b755f53552ffa29c2ca563973432e9c (diff) | |
download | extras-b11b8159e91a33831b8032cc9182f8c03ab09553.tar.gz |
libfscrypt: Export FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64
We need to test for this flag when deciding whether to set
stable_inodes.
Bug: 143307095
Test: Set inlinecrypt_optimized, check that stable_inodes is set
Change-Id: Ic3245466eccd88ed2784ff4b2a348ca65085e2a4
Diffstat (limited to 'libfscrypt/fscrypt.cpp')
-rw-r--r-- | libfscrypt/fscrypt.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libfscrypt/fscrypt.cpp b/libfscrypt/fscrypt.cpp index b0c9ed6e..b76f0b17 100644 --- a/libfscrypt/fscrypt.cpp +++ b/libfscrypt/fscrypt.cpp @@ -66,9 +66,6 @@ struct fscrypt_policy_v2 { #endif /* FSCRYPT_POLICY_V1 */ -// TODO: switch to <linux/fscrypt.h> once it's in Bionic -#define FSCRYPT_POLICY_FLAG_IV_INO_LBLK_64 0x08 - /* modes not supported by upstream kernel, so not in <linux/fs.h> */ #define FS_ENCRYPTION_MODE_AES_256_HEH 126 #define FS_ENCRYPTION_MODE_PRIVATE 127 |