summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Bigelow <ipha00@gmail.com>2016-03-31 17:31:53 -0400
committerThomas Waldmann <tw@waldmann-edv.de>2016-03-31 23:56:54 +0200
commit5ceb67195c6595752b616c8a0c2440d30acd7db7 (patch)
tree085ed81810f2bb0f13cb19d16a283570ed7d15d0
parentcfe664db583cfb116c60c03e1049050af124c78b (diff)
fix incorrect _ns variables0.xx-maint
-rw-r--r--borg/fuse.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/borg/fuse.py b/borg/fuse.py
index 557f4710e..ad3d60958 100644
--- a/borg/fuse.py
+++ b/borg/fuse.py
@@ -165,15 +165,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):