[victoriafalls] Move the block to lba translation to a small wrapper.

Abstract this away into a thin wrapper over the denali client such that
it can be called from other helper classes.
This commit is contained in:
Drew Galbraith 2023-07-05 23:19:25 -07:00
parent a49d13f1d1
commit 21c1a001ea
6 changed files with 83 additions and 35 deletions

View file

@ -11,7 +11,7 @@ uint64_t main(uint64_t init_cap) {
YellowstoneStub yellowstone(gInitEndpointCap);
ASSIGN_OR_RETURN(ScopedDenaliClient denali, yellowstone.GetDenali());
Ext2Driver ext2(glcr::Move(denali));
ASSIGN_OR_RETURN(Ext2Driver ext2, Ext2Driver::Init(glcr::Move(denali)));
check(ext2.ProbePartition());