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

Commit 122bf2ae authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

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

parents 8a044572 b3462c12
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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.
// Set the number of reserved filesystem blocks if needed.
static void tune_reserved_size(const std::string& blk_device, const FstabEntry& entry,
static void tune_reserved_size(const std::string& blk_device, const FstabEntry& entry,
                               const struct ext4_super_block* sb, int* fs_stat) {
                               const struct ext4_super_block* sb, int* fs_stat) {
    if (entry.reserved_size != 0) {
    if (entry.reserved_size == 0) {
        return;
        return;
    }
    }