diff --git a/unified-scheduler-logic/src/lib.rs b/unified-scheduler-logic/src/lib.rs index 89eee82a9786d6..69ca42f48c5a12 100644 --- a/unified-scheduler-logic/src/lib.rs +++ b/unified-scheduler-logic/src/lib.rs @@ -480,8 +480,8 @@ impl SchedulingStateMachine { }; match lock_status { LockResult::Ok(PageUsage::Unused) => unreachable!(), - LockResult::Ok(usage) => { - page.usage = usage; + LockResult::Ok(new_usage) => { + page.usage = new_usage; } LockResult::Err(()) => { blocked_page_count.increment_self();