tree wide: typo fixes through codespell
Most, not all, found and fixes using `codespell -wci3 -L crate` Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
//! MediaSet Locking
|
||||
//!
|
||||
//! To add/remove media from a media set, or to modify catalogs we
|
||||
//! always do lock_media_set(). Also, we aquire this lock during
|
||||
//! always do lock_media_set(). Also, we acquire this lock during
|
||||
//! restore, to make sure it is not reused for backups.
|
||||
//!
|
||||
|
||||
|
@ -483,7 +483,7 @@ impl MediaCatalog {
|
||||
pub fn register_label(
|
||||
&mut self,
|
||||
uuid: &Uuid, // Media/MediaSet Uuid
|
||||
seq_nr: u64, // onyl used for media set labels
|
||||
seq_nr: u64, // only used for media set labels
|
||||
file_number: u64,
|
||||
) -> Result<(), Error> {
|
||||
self.check_register_label(file_number, uuid)?;
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Media Pool
|
||||
//!
|
||||
//! A set of backup medias.
|
||||
//! A set of backup mediums.
|
||||
//!
|
||||
//! This struct manages backup media state during backup. The main
|
||||
//! purpose is to allocate media sets and assign new tapes to it.
|
||||
@ -392,7 +392,7 @@ impl MediaPool {
|
||||
|
||||
let uuid = media_id.label.uuid.clone();
|
||||
|
||||
MediaCatalog::overwrite(&self.state_path, &media_id, false)?; // overwite catalog
|
||||
MediaCatalog::overwrite(&self.state_path, &media_id, false)?; // overwrite catalog
|
||||
let clear_media_status = true; // remove Full status
|
||||
self.inventory.store(media_id, clear_media_status)?; // store persistently
|
||||
|
||||
|
@ -18,7 +18,7 @@ pub struct NewChunksIterator {
|
||||
impl NewChunksIterator {
|
||||
/// Creates the iterator, spawning a new thread
|
||||
///
|
||||
/// Make sure to join() the returnd thread handle.
|
||||
/// Make sure to join() the returned thread handle.
|
||||
pub fn spawn(
|
||||
datastore: Arc<DataStore>,
|
||||
snapshot_reader: Arc<Mutex<SnapshotReader>>,
|
||||
|
Reference in New Issue
Block a user