[pbs-devel] [PATCH proxmox-backup v9 2/4] fix #3935: datastore/api/backup: move datastore locking to '/run'

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 26 16:22:28 CET 2025


Am 26.03.25 um 12:44 schrieb Shannon Sterz:
> diff --git a/pbs-datastore/src/snapshot_reader.rs b/pbs-datastore/src/snapshot_reader.rs
> index edff19ef..07601df8 100644
> --- a/pbs-datastore/src/snapshot_reader.rs
> +++ b/pbs-datastore/src/snapshot_reader.rs
> @@ -4,8 +4,11 @@ use std::path::Path;
>  use std::rc::Rc;
>  use std::sync::Arc;
>  
> -use anyhow::{bail, Context, Error};
> +use anyhow::{bail, format_err, Context, Error};

The format_err use statement resulted in an "unused import" warning, as it
was just a minor oversight I fixed that up directly in the respective commit.




More information about the pbs-devel mailing list