Remove one level of indirection for Context::name.

This commit is contained in:
4lDO2
2023-05-27 14:27:34 +02:00
parent 34894e3d73
commit 58c0c5d040
14 changed files with 25 additions and 35 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ fn empty<'lock>(context_lock: &'lock RwLock<Context>, mut context: RwLockWriteGu
for grant in addr_space.grants.into_iter() {
let unmap_result = if reaping {
log::error!("{}: {}: Grant should not exist: {:?}", context.id.into(), *context.name.read(), grant);
log::error!("{}: {}: Grant should not exist: {:?}", context.id.into(), context.name, grant);
grant.unmap(mapper, &mut InactiveFlusher::new())
} else {