summaryrefslogtreecommitdiff
path: root/pathfs_frontend/file.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-16 19:32:37 +0200
committerJakob Unterwurzacher2015-09-16 19:32:37 +0200
commit0af3cfcac0d6e5515ac37ee02712178218205a18 (patch)
treeb37c67f573b9164a05ddd821449dc0353893e2f8 /pathfs_frontend/file.go
parent3a2610a141b3afb96050b8dc4f7262939d563133 (diff)
Fix symlink size reporting
Diffstat (limited to 'pathfs_frontend/file.go')
-rw-r--r--pathfs_frontend/file.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pathfs_frontend/file.go b/pathfs_frontend/file.go
index 493a223..8cf070c 100644
--- a/pathfs_frontend/file.go
+++ b/pathfs_frontend/file.go
@@ -210,6 +210,7 @@ func (f *file) Chown(uid uint32, gid uint32) fuse.Status {
}
func (f *file) GetAttr(a *fuse.Attr) fuse.Status {
+ cryptfs.Debug.Printf("file.GetAttr()\n")
st := syscall.Stat_t{}
f.lock.Lock()
err := syscall.Fstat(int(f.fd.Fd()), &st)