From: Dietmar Maurer <dietmar@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-opendid] add fsync parameter to replace_file
Date: Wed, 20 Oct 2021 15:00:44 +0200 [thread overview]
Message-ID: <20211020130045.2020043-2-dietmar@proxmox.com> (raw)
In-Reply-To: <20211020130045.2020043-1-dietmar@proxmox.com>
---
src/auth_state.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/auth_state.rs b/src/auth_state.rs
index dcf564d..f7c7cd0 100644
--- a/src/auth_state.rs
+++ b/src/auth_state.rs
@@ -62,7 +62,7 @@ fn replace_auth_state(
let options = CreateOptions::new().perm(mode);
let raw = serde_json::to_string_pretty(data)?;
- replace_file(path, raw.as_bytes(), options)?;
+ replace_file(path, raw.as_bytes(), options, false)?;
Ok(())
}
--
2.30.2
next prev parent reply other threads:[~2021-10-20 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 13:00 [pbs-devel] [PATCH proxmox] add fsync parameter to replace_file and atomic_open_or_create Dietmar Maurer
2021-10-20 13:00 ` Dietmar Maurer [this message]
2021-10-20 13:00 ` [pbs-devel] [PATCH proxmox-backup] use new " Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211020130045.2020043-2-dietmar@proxmox.com \
--to=dietmar@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox