[pbs-devel] [PATCH proxmox-backup 3/7] datastore: prevent in-use deletion with locks instead of heuristic
Dietmar Maurer
dietmar at proxmox.com
Thu Aug 6 06:51:17 CEST 2020
> @@ -299,6 +303,8 @@ pub struct BackupInfo {
> pub backup_dir: BackupDir,
> /// List of data files
> pub files: Vec<String>,
> + /// Full path to dir containing backup_dir
> + pub base_path: PathBuf,
> }
I avoided to encode the full path by intention. Instead, I pass it as parameter
when its needed.
More information about the pbs-devel
mailing list