Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73b1567f authored by Jin Qian's avatar Jin Qian Committed by android-build-merger
Browse files

Merge "fastboot: enable uninit_bg for ext4"

am: be4eec05

Change-Id: I1773de0cce8bdde4b58c02902d9466f896ccee00
parents 8b2e0e03 be4eec05
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);