add f2fs device aliasing related arguments in vold
To support f2fs device aliasing feature, include related arguments in
vold.
Bug: 336319772
Test: add a device with "exp_alias" tag in fstab
Change-Id: Ibb8766f4c77d532a596f5581f3de8dfb334ba2fd
Signed-off-by: Daeho Jeong <daehojeong@google.com>
diff --git a/MetadataCrypt.h b/MetadataCrypt.h
index a091443..6c46237 100644
--- a/MetadataCrypt.h
+++ b/MetadataCrypt.h
@@ -29,7 +29,8 @@
bool fscrypt_mount_metadata_encrypted(const std::string& block_device,
const std::string& mount_point, bool needs_encrypt,
bool should_format, const std::string& fs_type, bool is_zoned,
- const std::vector<std::string>& user_devices, int64_t length);
+ const std::vector<std::string>& user_devices,
+ const std::vector<bool>& device_aliased, int64_t length);
bool defaultkey_volume_keygen(KeyGeneration* gen);