refactor(castore/fs): stop using async move
We don't move anything here. Change-Id: Ia9f345adf86be3c3f64fef0e6aca067ecbf7cf5d Reviewed-on: https://cl.snix.dev/c/snix/+/30547 Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: Florian Klink <flokli@flokli.de> Tested-by: besadii
This commit is contained in:
parent
33a02267c2
commit
59aeeb6fe4
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ where
|
||||||
// We don't have it yet, look it up in [self.root_nodes].
|
// We don't have it yet, look it up in [self.root_nodes].
|
||||||
match self
|
match self
|
||||||
.tokio_handle
|
.tokio_handle
|
||||||
.block_on(async move { self.root_nodes_provider.get_by_basename(name).await })
|
.block_on(async { self.root_nodes_provider.get_by_basename(name).await })
|
||||||
{
|
{
|
||||||
// if there was an error looking up the root node, propagate up an IO error.
|
// if there was an error looking up the root node, propagate up an IO error.
|
||||||
Err(_e) => Err(io::Error::from_raw_os_error(libc::EIO)),
|
Err(_e) => Err(io::Error::from_raw_os_error(libc::EIO)),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue