Merge "Fix the incorrect parameter quota when userdata is formatted with EXT4" am: 8bd25f8e74 am: 9788b022dd

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1825558

Change-Id: I1429919b9b952488484e51e88a5ff8a5c5ad24d0
This commit is contained in:
Daniel Rosenberg 2021-09-20 22:19:15 +00:00 committed by Automerger Merge Worker
commit b476bc2041

View file

@ -198,7 +198,7 @@ status_t Format(const std::string& source, unsigned long numSectors, const std::
cmd.push_back("-E"); cmd.push_back("-E");
std::string extopts = ""; std::string extopts = "";
if (needs_casefold) extopts += "encoding=utf8,"; if (needs_casefold) extopts += "encoding=utf8,";
if (needs_projid) extopts += "quotatype=prjquota,"; if (needs_projid) extopts += "quotatype=usrquota:grpquota:prjquota,";
cmd.push_back(extopts); cmd.push_back(extopts);
} }