fix(boot): guard storage signal queries with the host driver root

This commit is contained in:
Tyler Smith committed 2026-10-29 07:08:38 +00:00
1 parent 0ba187fbfd
commit bb77e3727b
1 file changed
+2
+2
View File
@@ -243,6 +243,8 @@ impl BlockDevice for Service {
self.inner.posted()
}
fn signals(&self) -> bool {
// SAFETY: as in read(); this query reaches shared controller state.
let _root = unsafe { RestoreRoot::enter(self.root) };
self.inner.signals()
}
}