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

This commit is contained in:
Treehugger Robot 2019-05-13 15:29:26 +00:00 committed by Gerrit Code Review
commit e27cd0c54e
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;
}