Merge "fastboot: enable uninit_bg for ext4" am: be4eec05e8
am: 73b1567f54
Change-Id: I1ee1de64ecc19aa1c4541a576f5eefce8f1e945c
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);