Merge "Fix bug that would prevent us from reserving right amount of space."

am: e27cd0c54e

Change-Id: Ida61d84cdec30ec46e2b931c200a5b8746fc9c00
This commit is contained in:
Martijn Coenen 2019-05-13 09:19:46 -07:00 committed by android-build-merger
commit 2a7d4d61e3
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ static void tune_quota(const std::string& blk_device, const FstabEntry& entry,
// Set the number of reserved filesystem blocks if needed.
static void tune_reserved_size(const std::string& blk_device, const FstabEntry& entry,
const struct ext4_super_block* sb, int* fs_stat) {
if (entry.reserved_size != 0) {
if (entry.reserved_size == 0) {
return;
}