From f406bf787932db8018a1e61cd944b5e3d80e58a7 Mon Sep 17 00:00:00 2001 From: Mitch Bigelow Date: Thu, 31 Mar 2016 17:31:53 -0400 Subject: [PATCH] fix incorrect _ns variables --- borg/fuse.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/borg/fuse.py b/borg/fuse.py index 2e40777e5..74f6104f9 100644 --- a/borg/fuse.py +++ b/borg/fuse.py @@ -174,15 +174,15 @@ class FuseOperations(llfuse.Operations): else: entry.st_ctime_ns = bigint_to_int(item[b'mtime']) else: - entry.st_mtime_ns = bigint_to_int(item[b'mtime']) / 1e9 + entry.st_mtime = bigint_to_int(item[b'mtime']) / 1e9 if b'atime' in item: - entry.st_atime_ns = bigint_to_int(item[b'atime']) / 1e9 + entry.st_atime = bigint_to_int(item[b'atime']) / 1e9 else: - entry.st_atime_ns = bigint_to_int(item[b'mtime']) / 1e9 + entry.st_atime = bigint_to_int(item[b'mtime']) / 1e9 if b'ctime' in item: - entry.st_ctime_ns = bigint_to_int(item[b'ctime']) / 1e9 + entry.st_ctime = bigint_to_int(item[b'ctime']) / 1e9 else: - entry.st_ctime_ns = bigint_to_int(item[b'mtime']) / 1e9 + entry.st_ctime = bigint_to_int(item[b'mtime']) / 1e9 return entry def listxattr(self, inode, ctx=None):