From 7a72e3f54d48f29517d7961590d418b1c60dfeaa Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 3 Jan 2022 06:36:33 -0600 Subject: Fix ctime which is change (not creation) time --- src/fuse/io.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fuse/io.rs b/src/fuse/io.rs index f3dc5b1..fe2fb36 100644 --- a/src/fuse/io.rs +++ b/src/fuse/io.rs @@ -246,14 +246,14 @@ impl Attrs { } #[must_use] - pub fn times(self, access: Timestamp, modify: Timestamp, create: Timestamp) -> Self { + pub fn times(self, access: Timestamp, modify: Timestamp, change: Timestamp) -> Self { Attrs(proto::Attrs { atime: access.seconds, mtime: modify.seconds, - ctime: create.seconds, + ctime: change.seconds, atimensec: access.nanoseconds, mtimensec: modify.nanoseconds, - ctimensec: create.nanoseconds, + ctimensec: change.nanoseconds, ..self.0 }) } -- cgit v1.2.3