[pbs-devel] [PATCH proxmox-backup 1/3] file-restore-daemon: disk: ignore "invalid fs" error
Stefan Reiter
s.reiter at proxmox.com
Mon May 17 14:31:35 CEST 2021
Mainly just causes log spam, we print a more useful error in the end if
all mounts fail anyway.
Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
src/bin/proxmox_restore_daemon/disk.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bin/proxmox_restore_daemon/disk.rs b/src/bin/proxmox_restore_daemon/disk.rs
index b58a84ff..a59d6360 100644
--- a/src/bin/proxmox_restore_daemon/disk.rs
+++ b/src/bin/proxmox_restore_daemon/disk.rs
@@ -157,6 +157,7 @@ impl Filesystems {
info!("mounting '{}' succeeded, fstype: '{}'", source, fs);
return Ok(());
}
+ Err(nix::Error::Sys(nix::errno::Errno::EINVAL)) => {}
Err(err) => {
warn!("mount error on '{}' ({}) - {}", source, fs, err);
}
--
2.20.1
More information about the pbs-devel
mailing list