forked from TrueCloudLab/rclone
report number of blocks in fuse
This commit is contained in:
parent
3ce82facac
commit
bf243f30d3
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ func (f *File) Attr(ctx context.Context, a *fuse.Attr) error {
|
||||||
a.Crtime = modTime
|
a.Crtime = modTime
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
a.Blocks = (a.Size + 511) / 512
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue