mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
Merge branch 'maybe-fix-delete' into main
This commit is contained in:
commit
fb648b4e21
1 changed files with 8 additions and 7 deletions
|
|
@ -571,14 +571,15 @@ impl BasisCache {
|
|||
} else {
|
||||
// this implementation is still in progress
|
||||
dict_entry.key_erase(key);
|
||||
|
||||
// encrypt and write the dict entry to disk
|
||||
basis.dict_sync(hw, dict)?;
|
||||
// sync the root basis structure as well, while we're at it...
|
||||
basis.basis_sync(hw);
|
||||
// finally, sync the page tables.
|
||||
basis.pt_sync(hw);
|
||||
}
|
||||
// sync the key pools to disk
|
||||
dict_entry.sync_large_pool();
|
||||
// encrypt and write the dict entry to disk
|
||||
basis.dict_sync(hw, dict)?;
|
||||
// sync the root basis structure as well, while we're at it...
|
||||
basis.basis_sync(hw);
|
||||
// finally, sync the page tables.
|
||||
basis.pt_sync(hw);
|
||||
return Ok(())
|
||||
} else {
|
||||
return Err(Error::new(ErrorKind::NotFound, "key not found"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue