Fix sff panic deadlock, share the evdev probe, assorted review cleanups
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ func (h *history) addFaults(now time.Time, e errs) {
|
||||
|
||||
func (h *history) addCorrected(now time.Time, d uint64) {
|
||||
h.mu.Lock()
|
||||
h.slot(int64(now.Sub(h.start)/histSlotSpan)).corrected += d
|
||||
h.slot(int64(now.Sub(h.start) / histSlotSpan)).corrected += d
|
||||
h.mu.Unlock()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user