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

Commit 14c7361f authored by David Anderson's avatar David Anderson Committed by Gerrit Code Review
Browse files

Merge "storaged: use correct accumulate variable for publishing disk stats"

parents 2d6c30da 360a3f67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -312,7 +312,7 @@ void disk_stats_monitor::publish(void)
{
    struct disk_perf perf = get_disk_perf(&mAccumulate_pub);
    log_debug_disk_perf(&perf, "regular");
    log_event_disk_stats(&mAccumulate, "regular");
    log_event_disk_stats(&mAccumulate_pub, "regular");
    // Reset global structures
    memset(&mAccumulate_pub, 0, sizeof(struct disk_stats));
}