diff options
author | Treehugger Robot | 2017-07-31 20:55:26 -0500 |
---|---|---|
committer | Gerrit Code Review | 2017-07-31 20:55:26 -0500 |
commit | be4eec05e84036f63e0881519e9505ebee2c67d0 (patch) | |
tree | 9e5255f8473c390d2aad104392c9a50ebfade8c7 | |
parent | 6fa0884188dbc27b59b2fa3f86fb317bb1381252 (diff) | |
parent | 99e3964e0deb2f6ded9624262bcbd8b077963f7d (diff) | |
download | platform-system-core-be4eec05e84036f63e0881519e9505ebee2c67d0.tar.gz platform-system-core-be4eec05e84036f63e0881519e9505ebee2c67d0.tar.xz platform-system-core-be4eec05e84036f63e0881519e9505ebee2c67d0.zip |
Merge "fastboot: enable uninit_bg for ext4"
-rw-r--r-- | fastboot/fs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/fs.cpp b/fastboot/fs.cpp index f3c000eb7..6058b882d 100644 --- a/fastboot/fs.cpp +++ b/fastboot/fs.cpp | |||
@@ -91,6 +91,8 @@ static int generate_ext4_image(const char* fileName, long long partSize, | |||
91 | } | 91 | } |
92 | mke2fs_args.push_back("-E"); | 92 | mke2fs_args.push_back("-E"); |
93 | mke2fs_args.push_back(ext_attr.c_str()); | 93 | mke2fs_args.push_back(ext_attr.c_str()); |
94 | mke2fs_args.push_back("-O"); | ||
95 | mke2fs_args.push_back("uninit_bg"); | ||
94 | mke2fs_args.push_back(fileName); | 96 | mke2fs_args.push_back(fileName); |
95 | 97 | ||
96 | std::string size_str = std::to_string(partSize / block_size); | 98 | std::string size_str = std::to_string(partSize / block_size); |