commit | 74ef6d2574ffec7c982da0423b8c9e0418960962 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Aug 01 01:55:26 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 01 01:55:26 2017 +0000 |
tree | 9e5255f8473c390d2aad104392c9a50ebfade8c7 | |
parent | 7504e1f9c87a2464b775534fcf79008182e6cee0 [diff] | |
parent | ec39640e049ef0523ddc8de16faf78e4eafe1b7d [diff] |
Merge "fastboot: enable uninit_bg for ext4"
diff --git a/fastboot/fs.cpp b/fastboot/fs.cpp index f3c000e..6058b88 100644 --- a/fastboot/fs.cpp +++ b/fastboot/fs.cpp
@@ -91,6 +91,8 @@ } 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);