use new fsync parameter to replace_file and atomic_open_or_create

Depend on proxmox 0.15.0 and proxmox-openid 0.8.1

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2021-10-20 14:56:15 +02:00
parent 412712029c
commit 75ca726c29
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,6 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
serde_cbor = "0.11.1" serde_cbor = "0.11.1"
proxmox = { version = "0.14.0" } proxmox = { version = "0.15.0" }
proxmox-time = "1" proxmox-time = "1"
proxmox-schema = { version = "1", features = [ "api-macro" ] } proxmox-schema = { version = "1", features = [ "api-macro" ] }

View File

@ -113,6 +113,7 @@ impl JournalState {
flags, flags,
&[], &[],
self.config.file_options.clone(), self.config.file_options.clone(),
false,
)?; )?;
Ok(BufReader::new(journal)) Ok(BufReader::new(journal))
} }
@ -127,6 +128,7 @@ impl JournalState {
flags, flags,
&[], &[],
config.file_options.clone(), config.file_options.clone(),
false,
)?; )?;
Ok(journal) Ok(journal)
} }