mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
1 parent
a7786c67f1
commit
cb5694d136
5 files changed
+46
-3
No files matched your search
@@ -50,7 +50,7 @@ func (f *file) Attr(ctx context.Context, a *fuse.Attr) error {
|
||||
a.Inode = f.inode
|
||||
a.Mode = f.node.Mode
|
||||
a.Size = f.node.Size
|
||||
a.Blocks = (f.node.Size / blockSize) + 1
|
||||
a.Blocks = (f.node.Size + blockSize - 1) / blockSize
|
||||
a.BlockSize = blockSize
|
||||
a.Nlink = uint32(f.node.Links)
|
||||
|
||||
|
||||
Reference in new issue
Block a user