Merge "Add support for 16k F2FS" into main am: 1dd20644dc
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2836451 Change-Id: I8ffea2f471bfb36ceaffc3cb6fb143f7474d7d32 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
057ea22258
1 changed files with 6 additions and 0 deletions
|
@ -101,7 +101,13 @@ status_t Format(const std::string& source, const std::string& zoned_device) {
|
|||
cmd.emplace_back(zoned_device.c_str());
|
||||
cmd.emplace_back("-m");
|
||||
}
|
||||
|
||||
std::string block_size = std::to_string(getpagesize());
|
||||
cmd.emplace_back("-b");
|
||||
cmd.emplace_back(block_size.c_str());
|
||||
|
||||
cmd.emplace_back(source.c_str());
|
||||
|
||||
return logwrap_fork_execvp(cmd.size(), cmd.data(), nullptr, false, LOG_KLOG,
|
||||
false, nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue