Merge "Fix bug that would prevent us from reserving right amount of space." into qt-dev

This commit is contained in:
Martijn Coenen 2019-05-13 06:49:30 +00:00 committed by Android (Google) Code Review
commit 122bf2aedf
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;
}