mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-05 11:04:42 +00:00
datastore: write chunk: comment utimesat params
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2858912686
commit
1aae684ba6
@ -215,10 +215,12 @@ impl ChunkStore {
|
||||
const UTIME_OMIT: i64 = (1 << 30) - 2;
|
||||
|
||||
let times: [libc::timespec; 2] = [
|
||||
// access time -> update to now
|
||||
libc::timespec {
|
||||
tv_sec: 0,
|
||||
tv_nsec: UTIME_NOW,
|
||||
},
|
||||
// modification time -> keep as is
|
||||
libc::timespec {
|
||||
tv_sec: 0,
|
||||
tv_nsec: UTIME_OMIT,
|
||||
|
Loading…
Reference in New Issue
Block a user