Merge "fastboot: enable uninit_bg for ext4"

This commit is contained in:
Treehugger Robot 2017-08-01 01:55:26 +00:00 committed by Gerrit Code Review
commit be4eec05e8
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ static int generate_ext4_image(const char* fileName, long long partSize,
}
mke2fs_args.push_back("-E");
mke2fs_args.push_back(ext_attr.c_str());
mke2fs_args.push_back("-O");
mke2fs_args.push_back("uninit_bg");
mke2fs_args.push_back(fileName);
std::string size_str = std::to_string(partSize / block_size);