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/model/PrivateVolume.cpp b/model/PrivateVolume.cpp
index bb52647..b2128a8 100644
--- a/model/PrivateVolume.cpp
+++ b/model/PrivateVolume.cpp
@@ -234,7 +234,7 @@
return -EIO;
}
} else if (resolvedFsType == "f2fs") {
- if (f2fs::Format(mDmDevPath, false, {})) {
+ if (f2fs::Format(mDmDevPath, false, {}, {})) {
PLOG(ERROR) << getId() << " failed to format";
return -EIO;
}